mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
18071638cf
commit
7572db4012
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ export class Protyle {
|
||||||
reloadProtyle(this.protyle, false);
|
reloadProtyle(this.protyle, false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "addLoadding":
|
case "addLoading":
|
||||||
if (data.data === this.protyle.block.rootID) {
|
if (data.data === this.protyle.block.rootID) {
|
||||||
addLoading(this.protyle, data.msg);
|
addLoading(this.protyle, data.msg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,7 @@ func PushProtyleReload(rootID string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func PushProtyleLoading(rootID, msg string) {
|
func PushProtyleLoading(rootID, msg string) {
|
||||||
BroadcastByType("protyle", "addLoadding", 0, msg, rootID)
|
BroadcastByType("protyle", "addLoading", 0, msg, rootID)
|
||||||
}
|
}
|
||||||
|
|
||||||
func PushDownloadProgress(id string, percent float32) {
|
func PushDownloadProgress(id string, percent float32) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue