调整用户切换角色路由跳转逻辑
This commit is contained in:
@@ -311,6 +311,10 @@ const initPage = () => {
|
||||
activeValue.value = window.sessionStorage.getItem('activeValue')
|
||||
}
|
||||
setTab(route)
|
||||
if (window.sessionStorage.getItem('needCloseAll') === 'true') {
|
||||
closeAll()
|
||||
window.sessionStorage.removeItem('needCloseAll')
|
||||
}
|
||||
}
|
||||
initPage()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user