diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts index 84393a4c2..51c396490 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", `
${data.rootRefCount}
`);