1. 优化重启

This commit is contained in:
ngfchl
2022-08-28 22:54:09 +08:00
parent e925f1cad7
commit 56ff67bfc5
2 changed files with 5 additions and 0 deletions

View File

@@ -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,

View File

@@ -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({