mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 启动时不再缓存笔记本根一级文档树 Fix https://github.com/siyuan-note/siyuan/issues/6717
This commit is contained in:
parent
530b598686
commit
5e44e3b5f8
2 changed files with 0 additions and 6 deletions
|
|
@ -540,10 +540,6 @@ func FullReindex() {
|
||||||
openedBox.Index(true)
|
openedBox.Index(true)
|
||||||
}
|
}
|
||||||
IndexRefs()
|
IndexRefs()
|
||||||
// 缓存根一级的文档树展开
|
|
||||||
for _, openedBox := range openedBoxes {
|
|
||||||
ListDocTree(openedBox.ID, "/", Conf.FileTree.Sort)
|
|
||||||
}
|
|
||||||
treenode.SaveBlockTree()
|
treenode.SaveBlockTree()
|
||||||
util.PushEndlessProgress(Conf.Language(58))
|
util.PushEndlessProgress(Conf.Language(58))
|
||||||
go func() {
|
go func() {
|
||||||
|
|
|
||||||
|
|
@ -602,8 +602,6 @@ func InitBoxes() {
|
||||||
if !initialized {
|
if !initialized {
|
||||||
box.Index(true)
|
box.Index(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
ListDocTree(box.ID, "/", Conf.FileTree.Sort) // 缓存根一级的文档树展开
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if !initialized {
|
if !initialized {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue