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