mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 08:46:40 +08:00
优化注销流程,增加10秒延迟后再执行注销操作
This commit is contained in:
@@ -73,8 +73,10 @@ async function restart() {
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
}
|
}
|
||||||
// 注销
|
// 等待10秒后注销
|
||||||
logout()
|
setTimeout(() => {
|
||||||
|
logout()
|
||||||
|
}, 10000)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 显示重启确认对话框
|
// 显示重启确认对话框
|
||||||
|
|||||||
Reference in New Issue
Block a user