mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 23:22:33 +01:00
🎨 数据历史文档支持只读可视化预览 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
util.PushEndlessProgress(Conf.Language(35))
|
||||||
|
defer util.PushClearProgress()
|
||||||
|
|
||||||
sql.InitHistoryDatabase(true)
|
sql.InitHistoryDatabase(true)
|
||||||
lutEngine := NewLute()
|
lutEngine := NewLute()
|
||||||
for _, historyDir := range historyDirs {
|
for _, historyDir := range historyDirs {
|
||||||
|
|
@ -503,6 +506,7 @@ func ReindexHistory() (err error) {
|
||||||
|
|
||||||
name := historyDir.Name()
|
name := historyDir.Name()
|
||||||
indexHistoryDir(name, lutEngine)
|
indexHistoryDir(name, lutEngine)
|
||||||
|
util.PushEndlessProgress(fmt.Sprintf(Conf.Language(40), name))
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue