mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
2a6597f388
commit
67574984d0
6 changed files with 299 additions and 36 deletions
|
|
@ -101,7 +101,7 @@ style="width: ${column.width || "200px"}">${getCalcValue(column) || '<svg><use x
|
|||
} else if (cell.valueType === "mAsset") {
|
||||
cell.value?.mAsset?.forEach((item) => {
|
||||
if (item.type === "image") {
|
||||
text += `<span class="b3-chip b3-chip--middle" style="background-image:url("${item.content}")"></span>`;
|
||||
text += `<img class="av__cellassetimg" src="${item.content}">`;
|
||||
} else {
|
||||
text += `<span class="b3-chip b3-chip--middle" data-url="${item.content}">${item.name}</span>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue