Browse Source

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

Liang Ding 3 years ago
parent
commit
cfde8e3ea8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      kernel/conf/filetree.go

+ 1 - 0
kernel/conf/filetree.go

@@ -27,6 +27,7 @@ type FileTree struct {
 	CreateDocNameTemplate  string `json:"createDocNameTemplate"`  // 新建文档名模板
 	CreateDocNameTemplate  string `json:"createDocNameTemplate"`  // 新建文档名模板
 	MaxListCount           int    `json:"maxListCount"`           // 最大列出数量
 	MaxListCount           int    `json:"maxListCount"`           // 最大列出数量
 	AllowCreateDeeper      bool   `json:"allowCreateDeeper"`      // 允许创建超过 7 层深度的子文档
 	AllowCreateDeeper      bool   `json:"allowCreateDeeper"`      // 允许创建超过 7 层深度的子文档
+	RemoveDocConfirm       int    `json:"removeDocConfirm"`       // 删除文档时是否需要确认,0:需要确认,1:不需要确认
 
 
 	Sort int `json:"sort"` // 排序方式
 	Sort int `json:"sort"` // 排序方式
 }
 }