This commit is contained in:
Vanessa 2024-09-19 22:12:39 +08:00
parent 6ff0473c41
commit 3cd7d9fd3e

View file

@ -202,9 +202,9 @@ export const setDefRefCount = (data: {
} }
} }
if (data.refCount === 0) { if (data.refCount === 0) {
item.removeAttribute("refcount") item.removeAttribute("refcount");
} else { } else {
item.setAttribute("refcount", data.refCount.toString()) item.setAttribute("refcount", data.refCount.toString());
} }
}); });
}); });