mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 20:30:15 +01:00
🎨 添加文档树 删除文档确认 选项 https://github.com/siyuan-note/siyuan/issues/5225
This commit is contained in:
parent
0361de475f
commit
303ba0cf48
5 changed files with 15 additions and 7 deletions
|
|
@ -21,13 +21,13 @@ import (
|
|||
)
|
||||
|
||||
type FileTree struct {
|
||||
AlwaysSelectOpenedFile bool `json:"alwaysSelectOpenedFile"` // 是否自动选中当前打开的文件
|
||||
OpenFilesUseCurrentTab bool `json:"openFilesUseCurrentTab"` // 在当前页签打开文件
|
||||
RefCreateSavePath string `json:"refCreateSavePath"` // 块引时新建文档存储文件夹路径
|
||||
CreateDocNameTemplate string `json:"createDocNameTemplate"` // 新建文档名模板
|
||||
MaxListCount int `json:"maxListCount"` // 最大列出数量
|
||||
AllowCreateDeeper bool `json:"allowCreateDeeper"` // 允许创建超过 7 层深度的子文档
|
||||
RemoveDocConfirm int `json:"removeDocConfirm"` // 删除文档时是否需要确认,0:需要确认,1:不需要确认
|
||||
AlwaysSelectOpenedFile bool `json:"alwaysSelectOpenedFile"` // 是否自动选中当前打开的文件
|
||||
OpenFilesUseCurrentTab bool `json:"openFilesUseCurrentTab"` // 在当前页签打开文件
|
||||
RefCreateSavePath string `json:"refCreateSavePath"` // 块引时新建文档存储文件夹路径
|
||||
CreateDocNameTemplate string `json:"createDocNameTemplate"` // 新建文档名模板
|
||||
MaxListCount int `json:"maxListCount"` // 最大列出数量
|
||||
AllowCreateDeeper bool `json:"allowCreateDeeper"` // 允许创建超过 7 层深度的子文档
|
||||
RemoveDocWithoutConfirm int `json:"removeDocWithoutConfirm"` // 删除文档时是否不需要确认
|
||||
|
||||
Sort int `json:"sort"` // 排序方式
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue