🎨 支持设置页签打开最大数量 https://github.com/siyuan-note/siyuan/issues/2098

This commit is contained in:
Liang Ding 2022-06-23 11:47:32 +08:00
parent cd80bb8aac
commit e737b4f10f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 3 additions and 3 deletions

View file

@ -167,7 +167,7 @@ func setFiletree(c *gin.Context) {
}
if 1 > fileTree.MaxOpenTabCount {
fileTree.MaxOpenTabCount = 12
fileTree.MaxOpenTabCount = 8
}
if 32 < fileTree.MaxOpenTabCount {
fileTree.MaxOpenTabCount = 32