NEZ-2810 fix:修复退出登录后 pace 进度条不消失

This commit is contained in:
zhangyu
2023-05-08 15:08:04 +08:00
parent eb87d6bddb
commit bc358c50a4
2 changed files with 2 additions and 1 deletions

View File

@@ -182,7 +182,7 @@ export default {
this.$get('logout').then(() => {
sessionStorage.setItem('nz-is-logout', '1')
this.logoutSuccess()
document.location.href = '/'
// document.location.href = '/'
})
},
showPinDialog () {

View File

@@ -191,6 +191,7 @@ const user = {
localStorage.removeItem('nz-token')
localStorage.removeItem('nz-user-id')
store.commit('closeTerminal')
window.location.reload()
}
}
}