mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: pm2 event bus
This commit is contained in:
1 parent
fc7aa51571
commit
3adde783a3
6 files changed
+35
-10
No files matched your search
@@ -261,7 +261,6 @@ class HomeSettingsHandler extends Handler {
|
||||
}
|
||||
for (const key in booleanKeys) if (!args[key]) $set[key] = false;
|
||||
await setter($set);
|
||||
await sleep(100);
|
||||
this.back();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,7 +179,6 @@ class SystemSettingHandler extends SystemHandler {
|
||||
}
|
||||
tasks.push(bus.parallel('system/setting', args));
|
||||
await Promise.all(tasks);
|
||||
await sleep(100);
|
||||
this.back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user