This commit is contained in:
Vanessa 2023-05-14 12:10:47 +08:00
parent 18071638cf
commit 7572db4012
2 changed files with 2 additions and 2 deletions

View file

@ -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);
} }

View file

@ -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) {