Browse Source

问题修复

master
huxinglu 4 years ago
parent
commit
ecc911822c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/router/index.js

+ 1
- 0
src/router/index.js View File

@@ -112,6 +112,7 @@ router.beforeEach(async (to, from, next) => {
if (to.name == '403') {
store.dispatch('user/setIsIndexTag', false)
}
store.dispatch('user/setBreadcrumb', [])
}else{
store.dispatch('user/resetToken')
}

Loading…
Cancel
Save