Merge pull request #5734 from dataease/pr@dev@fix_close_window_token

fix: 禁止关闭浏览器注销token功能
This commit is contained in:
fit2cloud-chenyw 2023-07-21 14:45:23 +08:00 committed by GitHub
commit fde0068f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 => {})
}
},