fix: 禁止关闭浏览器注销token功能

This commit is contained in:
fit2cloud-chenyw 2023-07-21 14:44:31 +08:00
parent ea72262b28
commit 6718565225

View File

@ -281,7 +281,7 @@ export default {
unloadHandler(e) {
this.gap_time = new Date().getTime() - this.beforeUnload_time
if (this.gap_time <= 5) {
this.logout().then(res => {})
// this.logout().then(res => {})
}
},