优化注销流程,增加10秒延迟后再执行注销操作

This commit is contained in:
jxxghp
2025-06-09 15:56:03 +08:00
parent 1065973e07
commit bff8c0f86b

View File

@@ -73,8 +73,10 @@ async function restart() {
} catch (error) {
console.error(error)
}
// 注销
logout()
// 等待10秒后注销
setTimeout(() => {
logout()
}, 10000)
}
// 显示重启确认对话框