From 3e8f1bf0e13968628a68bec21a416fb228a0738a Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 13 Jul 2022 23:06:36 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=8F=AF=E8=AE=BE=E7=BD=AE=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E6=97=B6=E5=85=B3=E9=97=AD=E6=89=80=E6=9C=89=E9=A1=B5?= =?UTF-8?q?=E7=AD=BE=20https://github.com/siyuan-note/siyuan/issues/5189?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/conf/filetree.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/conf/filetree.go b/kernel/conf/filetree.go index 80435791a..1004430ef 100644 --- a/kernel/conf/filetree.go +++ b/kernel/conf/filetree.go @@ -29,6 +29,7 @@ type FileTree struct { MaxOpenTabCount int `json:"maxOpenTabCount"` // 最大打开页签数量 AllowCreateDeeper bool `json:"allowCreateDeeper"` // 允许创建超过 7 层深度的子文档 RemoveDocWithoutConfirm bool `json:"removeDocWithoutConfirm"` // 删除文档时是否不需要确认 + CloseTabsOnStart bool `json:"closeTabsOnStart"` // 启动时关闭所有页签 Sort int `json:"sort"` // 排序方式 } @@ -42,5 +43,6 @@ func NewFileTree() *FileTree { MaxListCount: 512, MaxOpenTabCount: 8, AllowCreateDeeper: false, + CloseTabsOnStart: false, } }