🎨 可设置启动时关闭所有页签 https://github.com/siyuan-note/siyuan/issues/5189

This commit is contained in:
Liang Ding 2022-07-13 23:06:36 +08:00
parent 8a36f3a110
commit 3e8f1bf0e1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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,
}
}