🐛 启动后会生成一次全量数据历史文件 Fix https://github.com/siyuan-note/siyuan/issues/5689
This commit is contained in:
parent
3e81433951
commit
30b020a65b
1 changed files with 2 additions and 0 deletions
|
@ -510,6 +510,8 @@ func InitBoxes() {
|
|||
}
|
||||
|
||||
for _, box := range Conf.GetOpenedBoxes() {
|
||||
box.UpdateHistoryGenerated() // 初始化历史生成时间为当前时间
|
||||
|
||||
if !initialized {
|
||||
box.Index(true)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue