An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/12512
Vanessa6ff0473c4108
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex d78a5dad3a..8b321718fd 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -201,6 +201,11 @@ export const setDefRefCount = (data: {attrElement.innerHTML = `<div class="protyle-attr--refcount popover__block">${data.refCount}</div>${Constants.ZWSP}`;}}+ if (data.refCount === 0) {+ item.removeAttribute("refcount")+ } else {+ item.setAttribute("refcount", data.refCount.toString())+ }});});