mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
Merge pull request #5734 from dataease/pr@dev@fix_close_window_token
fix: 禁止关闭浏览器注销token功能
This commit is contained in:
@@ -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 => {})
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user