Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/12605

Vanessa6002652beb9a
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index f516cc8810..952153062a 100644
--- a/app/src/dialog/processSystem.ts
+++ b/app/src/dialog/processSystem.ts
@@ -174,7 +174,7 @@ export const setDefRefCount = (data: {
getAllEditor().forEach(item => {
if (data.rootID === data.blockID && item.protyle.block.rootID === data.rootID) {
const attrElement = item.protyle.title.element.querySelector(".protyle-attr");
- const countElement = attrElement.querySelector(".popover__block");
+ const countElement = attrElement.querySelector(".protyle-attr--refcount");
if (countElement) {
if (data.refCount === 0) {
countElement.remove();