Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/9424

Vanessab907a6178231
diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts
index 5210e68d00..b919843989 100644
--- a/app/src/protyle/render/av/row.ts
+++ b/app/src/protyle/render/av/row.ts
@@ -129,10 +129,10 @@ const updatePageSize = (currentPageSIze: string, newPageSize: string, protyle: I
transaction(protyle, [{
action: "setAttrViewPageSize",
avID,
- data: newPageSize,
+ data: parseInt(newPageSize),
}], [{
action: "setAttrViewPageSize",
- data: currentPageSIze,
+ data: parseInt(currentPageSIze),
avID,
}]);
document.querySelector(".av__panel")?.remove();