core: performance enhancement

This commit is contained in:
undefined committed 2022-07-31 23:44:22 +08:00
1 parent bab15a775b
commit f22caf8c7b
6 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -217,8 +217,8 @@ class SystemSettingHandler extends SystemHandler {
}
}
}
tasks.push(bus.parallel('system/setting', args));
await Promise.all(tasks);
await bus.broadcast('system/setting', args);
this.back();
}
}