🎨 Improve mirror database blocks reload

This commit is contained in:
Daniel 2024-04-21 18:18:23 +08:00
parent 1db8269b9f
commit 7f98213879
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 55 additions and 21 deletions

View file

@ -216,6 +216,10 @@ func PushClearProgress() {
BroadcastByType("main", "cprogress", 0, "", nil)
}
func PushReloadAttrView(avID string) {
BroadcastByType("protyle", "refreshAttributeView", 0, "", map[string]interface{}{"id": avID})
}
func PushReloadDoc(rootID string) {
BroadcastByType("main", "reloaddoc", 0, "", rootID)
}