🎨 标题引用推送
This commit is contained in:
parent
84e92fa7ee
commit
d5cdab8e31
1 changed files with 2 additions and 2 deletions
|
@ -183,10 +183,10 @@ export const setDefRefCount = (data: {
|
|||
countElement.remove();
|
||||
} else {
|
||||
countElement.textContent = data.refCount.toString();
|
||||
countElement.setAttribute("data-id", data.refIDs.toString());
|
||||
countElement.setAttribute("data-id", JSON.stringify(data.refIDs));
|
||||
}
|
||||
} else if (data.refCount > 0) {
|
||||
attrElement.insertAdjacentHTML("beforeend", `<div class="protyle-attr--refcount popover__block" data-defids="["${data.blockID}"]" data-id="${data.refIDs.toString()}" style="">${data.refCount}</div>`);
|
||||
attrElement.insertAdjacentHTML("beforeend", `<div class="protyle-attr--refcount popover__block" data-defids="["${data.blockID}"]" data-id="${JSON.stringify(data.refIDs)}" style="">${data.refCount}</div>`);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue