Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/13791

Vanessa6eaaf77a41ff
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index 84393a4c27..51c396490d 100644
--- a/app/src/dialog/processSystem.ts
+++ b/app/src/dialog/processSystem.ts
@@ -169,8 +169,6 @@ export const setDefRefCount = (data: {
"refCount": number,
"rootRefCount": number,
"rootID": string
- refIDs: string[]
- rootRefIDs: string[]
}) => {
getAllEditor().forEach(editor => {
if (editor.protyle.block.rootID === data.rootID && editor.protyle.title) {
@@ -181,7 +179,6 @@ export const setDefRefCount = (data: {
countElement.remove();
} else {
countElement.textContent = data.rootRefCount.toString();
- countElement.setAttribute("data-id", JSON.stringify(data.rootRefIDs));
}
} else if (data.rootRefCount > 0) {
attrElement.insertAdjacentHTML("beforeend", `<div class="protyle-attr--refcount popover__block">${data.rootRefCount}</div>`);