🎨 添加文档树 删除文档确认 选项 https://github.com/siyuan-note/siyuan/issues/5225

This commit is contained in:
Liang Ding 2022-06-18 23:23:16 +08:00
parent 0361de475f
commit 303ba0cf48
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 15 additions and 7 deletions

View file

@ -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"` // 排序方式
}