Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Liang Ding19940e266bd9
diff --git a/kernel/conf/filetree.go b/kernel/conf/filetree.go
index ded15e2068..3c67832bd0 100644
--- a/kernel/conf/filetree.go
+++ b/kernel/conf/filetree.go
@@ -27,7 +27,7 @@ type FileTree struct {
CreateDocNameTemplate string `json:"createDocNameTemplate"` // 新建文档名模板
MaxListCount int `json:"maxListCount"` // 最大列出数量
AllowCreateDeeper bool `json:"allowCreateDeeper"` // 允许创建超过 7 层深度的子文档
- RemoveDocWithoutConfirm int `json:"removeDocWithoutConfirm"` // 删除文档时是否不需要确认
+ RemoveDocWithoutConfirm bool `json:"removeDocWithoutConfirm"` // 删除文档时是否不需要确认
Sort int `json:"sort"` // 排序方式
}