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

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