An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/10534
Vanessa383fa70bd7c3
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex ec531ffe9d..f27feff307 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -416,7 +416,7 @@ const updateCellValueByInput = (protyle: IProtyle, type: TAVCol, blockElement: Hif (type === "template") {const colId = cellElements[0].getAttribute("data-col-id");const textElement = avMaskElement.querySelector(".b3-text-field") as HTMLInputElement;- if (textElement.value !== textElement.dataset.template) {+ if (textElement.value !== textElement.dataset.template && !blockElement.getAttribute("data-loading")) {transaction(protyle, [{action: "updateAttrViewColTemplate",id: colId,@@ -430,6 +430,7 @@ const updateCellValueByInput = (protyle: IProtyle, type: TAVCol, blockElement: Hdata: textElement.dataset.template,type: "template",}]);+ blockElement.setAttribute("data-loading", "true");}} else {updateCellsValue(protyle, blockElement, type === "checkbox" ? {diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.tsindex 15ec0c08a8..05fab970a3 100644--- a/app/src/protyle/render/av/render.ts+++ b/app/src/protyle/render/av/render.ts@@ -324,6 +324,7 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {document.querySelector(".av__mask")?.remove();}}+ item.removeAttribute("data-loading");});});}