diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts index d78a5dad3..8b321718f 100644 --- a/app/src/dialog/processSystem.ts +++ b/app/src/dialog/processSystem.ts @@ -201,6 +201,11 @@ export const setDefRefCount = (data: { attrElement.innerHTML = `
${data.refCount}
${Constants.ZWSP}`; } } + if (data.refCount === 0) { + item.removeAttribute("refcount") + } else { + item.setAttribute("refcount", data.refCount.toString()) + } }); });