重启功能

This commit is contained in:
undefined committed 2020-06-16 13:09:43 +08:00
1 parent a29b801e72
commit 2aeacb04ab
10 files changed
+49 -41

No files matched your search

+5
View File
@@ -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 {