🎨 改进无法读写块树文件后的处理 Fix https://github.com/siyuan-note/siyuan/issues/5619

This commit is contained in:
Liang Ding 2022-08-12 10:43:24 +08:00
parent 18e377f90f
commit b10a7d99f8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 2 additions and 41 deletions

View file

@ -510,9 +510,8 @@ func InitBoxes() {
}
for _, box := range Conf.GetOpenedBoxes() {
box.UpdateHistoryGenerated() // 初始化历史生成时间为当前时间
if !initialized {
box.BootIndex()
box.Index(true)
}
ListDocTree(box.ID, "/", Conf.FileTree.Sort) // 缓存根一级的文档树展开