首页展示资料中心
This commit is contained in:
+3
-3
@@ -184,7 +184,7 @@ router.beforeEach(function (to, from, next) {
|
||||
localStorage.setItem("routerName","phoneHome")
|
||||
next('/loginVerifyPhone')
|
||||
}else if(toName === 'databaseSearch' || toName === 'standDynamics' ||
|
||||
toName === 'domesticStand' || toName === 'domesticDetails'){
|
||||
toName === 'domesticStand' || toName === 'domesticDetails' || toName === 'zlzxDetails'){
|
||||
localStorage.setItem("routerName",toName)
|
||||
next('/loginVerifyPhone')
|
||||
}else {
|
||||
@@ -199,7 +199,7 @@ router.beforeEach(function (to, from, next) {
|
||||
}else {
|
||||
// 区分手机端首页 单独逻辑处理 token 为空 跳回验证页面重新验证
|
||||
if(fromName === 'databaseSearch' || fromName === 'standDynamics' ||
|
||||
fromName === 'domesticStand' || fromName === 'domesticDetails'){
|
||||
fromName === 'domesticStand' || fromName === 'domesticDetails' || toName === 'zlzxDetails'){
|
||||
localStorage.setItem("routerName",toName)
|
||||
next('/loginVerifyPhone')
|
||||
}else {
|
||||
@@ -207,7 +207,7 @@ router.beforeEach(function (to, from, next) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(toName === 'databaseSearch' || toName === 'standDynamics' ||
|
||||
if(toName === 'databaseSearch' || toName === 'standDynamics' || toName === 'zlzxDetails' ||
|
||||
toName === 'domesticStand' || toName === 'domesticDetails'){
|
||||
next()
|
||||
}else if (toName.slice(0,5) !== 'phone') {
|
||||
|
||||
Reference in New Issue
Block a user