🎨 数据历史文档支持只读可视化预览 https://github.com/siyuan-note/siyuan/issues/5735
This commit is contained in:
parent
bffc33c278
commit
2ae2bb0d52
1 changed files with 4 additions and 0 deletions
|
@ -494,6 +494,9 @@ func ReindexHistory() (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
util.PushEndlessProgress(Conf.Language(35))
|
||||
defer util.PushClearProgress()
|
||||
|
||||
sql.InitHistoryDatabase(true)
|
||||
lutEngine := NewLute()
|
||||
for _, historyDir := range historyDirs {
|
||||
|
@ -503,6 +506,7 @@ func ReindexHistory() (err error) {
|
|||
|
||||
name := historyDir.Name()
|
||||
indexHistoryDir(name, lutEngine)
|
||||
util.PushEndlessProgress(fmt.Sprintf(Conf.Language(40), name))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue