NEZ-2810 fix:修复退出登录后 pace 进度条不消失
This commit is contained in:
@@ -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 () {
|
||||
|
||||
@@ -191,6 +191,7 @@ const user = {
|
||||
localStorage.removeItem('nz-token')
|
||||
localStorage.removeItem('nz-user-id')
|
||||
store.commit('closeTerminal')
|
||||
window.location.reload()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user