mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
fix
This commit is contained in:
@@ -46,7 +46,7 @@ async function restart() {
|
|||||||
// 显示等待框
|
// 显示等待框
|
||||||
progressDialog.value = true
|
progressDialog.value = true
|
||||||
const result: { [key: string]: any } = await api.get('system/restart')
|
const result: { [key: string]: any } = await api.get('system/restart')
|
||||||
if (!result.success) {
|
if (!result?.success) {
|
||||||
// 隐藏等待框
|
// 隐藏等待框
|
||||||
progressDialog.value = false
|
progressDialog.value = false
|
||||||
// 重启不成功
|
// 重启不成功
|
||||||
|
|||||||
Reference in New Issue
Block a user