解决bug:解决父菜单下拉不出来问题、解决某些页面js报错问题、解决token失效跳转问题

This commit is contained in:
zhangdaihao
2019-02-26 18:19:54 +08:00
parent 9a6838a454
commit fa1585c0c5
15 changed files with 209 additions and 54 deletions

View File

@ -49,11 +49,9 @@ router.beforeEach((to, from, next) => {
message: '系统提示',
description: '请求用户信息失败,请重试!'
})
// update-begin- --- author:scott ------ date:20190225 ---- for:Token失效跳转登录逻辑修改----
// store.dispatch('Logout').then(() => {
// next({ path: '/user/login', query: { redirect: to.fullPath } })
// })
// update-end- --- author:scott ------ date:20190225 ---- for:Token失效跳转登录逻辑修改----
store.dispatch('Logout').then(() => {
next({ path: '/user/login', query: { redirect: to.fullPath } })
})
})
} else {
next()