mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 14:58:49 +01:00
🎨 The interface is no longer reloaded after data synchronization https://github.com/siyuan-note/siyuan/issues/8098
This commit is contained in:
parent
87a24d85f1
commit
d68a637ad2
1 changed files with 3 additions and 2 deletions
|
|
@ -1059,8 +1059,6 @@ func bootSyncRepo() (err error) {
|
|||
logging.LogErrorf("boot background sync repo failed: %s", syncErr)
|
||||
return
|
||||
}
|
||||
syncingFiles = sync.Map{}
|
||||
syncingStorages = false
|
||||
}()
|
||||
}
|
||||
return
|
||||
|
|
@ -1232,6 +1230,9 @@ func processSyncMergeResult(exit, byHand bool, start time.Time, mergeResult *dej
|
|||
LoadAssetsTexts()
|
||||
}
|
||||
|
||||
syncingFiles = sync.Map{}
|
||||
syncingStorages = false
|
||||
|
||||
cache.ClearDocsIAL() // 同步后文档树文档图标没有更新 https://github.com/siyuan-note/siyuan/issues/4939
|
||||
if needFullReindex(upsertTrees) { // 改进同步后全量重建索引判断 https://github.com/siyuan-note/siyuan/issues/5764
|
||||
FullReindex()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue