diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index 8d9b31fd7..fdf8e42d8 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -189,7 +189,7 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle: IPr ${table.avName || window.siyuan.languages.database}
- + `; table.keyValues?.forEach(item => { innerHTML += `
@@ -359,11 +359,11 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"] if (blockElement) { transaction(protyle, [{ action: "removeAttrViewBlock", - srcIDs: [id], + srcIDs: [removeElement.dataset.rowId], avID: blockElement.dataset.avId, }, { action: "doUpdateUpdated", - id, + id: removeElement.dataset.rowId, data: dayjs().format("YYYYMMDDHHmmss"), }]); blockElement.remove();