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

Liang Ding978ae3f55508
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index ce6a1f8829..fc78fee7dd 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -133,6 +133,9 @@ func InitConf() {
if 1 > Conf.FileTree.MaxOpenTabCount {
Conf.FileTree.MaxOpenTabCount = 12
}
+ if 32 < Conf.FileTree.MaxOpenTabCount {
+ Conf.FileTree.MaxOpenTabCount = 32
+ }
if nil == Conf.Tag {
Conf.Tag = conf.NewTag()
}