|
|
@@ -65,8 +65,8 @@ router.beforeEach((to, from, next) => {
|
|
|
// 加载进度条end
|
|
|
} else {
|
|
|
let TenantId = 0
|
|
|
- if(router.history.pending){
|
|
|
- TenantId = router.history.pending.query.TenantId
|
|
|
+ if(router.history.current){
|
|
|
+ TenantId = router.history.current.query.TenantId
|
|
|
}
|
|
|
localStorage.clear()
|
|
|
store.state.tabberLists = []
|
|
|
@@ -85,4 +85,4 @@ router.beforeEach((to, from, next) => {
|
|
|
})
|
|
|
router.afterEach((to, from) => {
|
|
|
NProgress.done();
|
|
|
-})
|
|
|
+})
|