This commit is contained in:
jxxghp
2023-09-06 17:26:20 +08:00
parent 193d1f550f
commit 403ee4b925

View File

@@ -46,7 +46,7 @@ async function restart() {
// 显示等待框
progressDialog.value = true
const result: { [key: string]: any } = await api.get('system/restart')
if (!result.success) {
if (!result?.success) {
// 隐藏等待框
progressDialog.value = false
// 重启不成功