mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
重启功能
This commit is contained in:
1 parent
a29b801e72
commit
2aeacb04ab
10 files changed
+49
-41
No files matched your search
@@ -31,6 +31,11 @@ class SystemDashboardHandler extends SystemHandler {
|
||||
this.response.template = 'manage_dashboard.html';
|
||||
this.response.body.path.push(['manage_dashboard', null]);
|
||||
}
|
||||
|
||||
async postRestart() {
|
||||
process.send({ event: 'restart' });
|
||||
this.back();
|
||||
}
|
||||
}
|
||||
|
||||
class SystemModuleHandler extends SystemHandler {
|
||||
|
||||
Reference in new issue
Block a user