bug: 修复页面跳转错误问题
This commit is contained in:
@@ -298,6 +298,10 @@ router.beforeEach(function (to, from, next) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
localStorage.removeItem("routerUrl")
|
||||
localStorage.setItem('routerUrl', 'home2')
|
||||
localStorage.removeItem("routerParam")
|
||||
localStorage.setItem('routerParam', '')
|
||||
if ((token === null || token === '' ) && toName === 'OtherStandardDetails') {
|
||||
if (document.cookie) {
|
||||
next()
|
||||
|
||||
Reference in New Issue
Block a user