🐛 启动后会生成一次全量数据历史文件 Fix https://github.com/siyuan-note/siyuan/issues/5689

This commit is contained in:
Liang Ding 2022-08-22 21:17:14 +08:00
parent 3e81433951
commit 30b020a65b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -510,6 +510,8 @@ func InitBoxes() {
}
for _, box := range Conf.GetOpenedBoxes() {
box.UpdateHistoryGenerated() // 初始化历史生成时间为当前时间
if !initialized {
box.Index(true)
}