fix: 禁止关闭浏览器注销token功能
This commit is contained in:
parent
ea72262b28
commit
6718565225
@ -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 => {})
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user