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