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

This commit is contained in:
jxxghp
2025-06-09 15:56:03 +08:00
parent 1065973e07
commit bff8c0f86b
+4 -2
View File
@@ -73,8 +73,10 @@ async function restart() {
} catch (error) { } catch (error) {
console.error(error) console.error(error)
} }
// 注销 // 等待10秒后注销
logout() setTimeout(() => {
logout()
}, 10000)
} }
// 显示重启确认对话框 // 显示重启确认对话框