Skip to content

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

:art: 限制页签最大打开数量为 `32` Fix https://github.com/siyuan-note/siyuan/issues/6303

Liang Dingc61204840c9b
diff --git a/app/src/config/fileTree.ts b/app/src/config/fileTree.ts
index aff5c894a7..4204aa561a 100644
--- a/app/src/config/fileTree.ts
+++ b/app/src/config/fileTree.ts
@@ -77,6 +77,7 @@ export const fileTree = {
</label>`;
},
_send() {
+ // 限制页签最大打开数量为 `32` https://github.com/siyuan-note/siyuan/issues/6303
let inputMaxOpenTabCount = parseInt((fileTree.element.querySelector("#maxOpenTabCount") as HTMLInputElement).value);
if (32 < inputMaxOpenTabCount) {
inputMaxOpenTabCount = 32;