mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
1. 优化重启
This commit is contained in:
@@ -183,6 +183,7 @@ SIMPLEUI_HOME_TITLE = 'PT一下你就知道'
|
||||
SIMPLEUI_HOME_ICON = 'fa fa-optin-monster'
|
||||
SIMPLEUI_HOME_INFO = False
|
||||
SIMPLEUI_LOGO = '/static/logo1.png'
|
||||
SIMPLEUI_INDEX = '/tasks/restart'
|
||||
# SIMPLEUI配置
|
||||
SIMPLEUI_CONFIG = {
|
||||
'system_keep': True,
|
||||
|
||||
@@ -142,11 +142,14 @@
|
||||
message: res.data.msg
|
||||
});
|
||||
}
|
||||
this.$router.go(0)
|
||||
}).catch(res => {
|
||||
this.$router.go(0)
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: "重启失败!"
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
}).catch(res => {
|
||||
@@ -182,6 +185,7 @@
|
||||
message: res.data.msg
|
||||
});
|
||||
}
|
||||
this.$router.go(0)
|
||||
}).catch(res => {
|
||||
console.log(res, 3)
|
||||
this.$message({
|
||||
|
||||
Reference in New Issue
Block a user