🎨 启动时不再缓存笔记本根一级文档树 Fix https://github.com/siyuan-note/siyuan/issues/6717

This commit is contained in:
Liang Ding 2022-11-25 21:52:13 +08:00
parent 530b598686
commit 5e44e3b5f8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 0 additions and 6 deletions

View file

@ -540,10 +540,6 @@ func FullReindex() {
openedBox.Index(true)
}
IndexRefs()
// 缓存根一级的文档树展开
for _, openedBox := range openedBoxes {
ListDocTree(openedBox.ID, "/", Conf.FileTree.Sort)
}
treenode.SaveBlockTree()
util.PushEndlessProgress(Conf.Language(58))
go func() {

View file

@ -602,8 +602,6 @@ func InitBoxes() {
if !initialized {
box.Index(true)
}
ListDocTree(box.ID, "/", Conf.FileTree.Sort) // 缓存根一级的文档树展开
}
if !initialized {