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/15211

Vanessaa3c5d92f58c5
diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts
index 28c3f29212..96e42d78ad 100644
--- a/app/src/protyle/render/av/render.ts
+++ b/app/src/protyle/render/av/render.ts
@@ -553,6 +553,9 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {
item.dataset.pageSize = viewTabElement.dataset.page;
}
}
+ if (operation.action === "addAttrViewView") {
+ item.dataset.pageSize = "50";
+ }
avRender(item, protyle, () => {
const attrElement = document.querySelector(`.b3-dialog--open[data-key="${Constants.DIALOG_ATTR}"] div[data-av-id="${avID}"]`) as HTMLElement;
if (attrElement) {