mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve mirror database blocks reload
This commit is contained in:
parent
1db8269b9f
commit
7f98213879
6 changed files with 55 additions and 21 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue