首页展示资料中心

This commit is contained in:
zyx.net
2022-11-14 14:05:42 +08:00
parent f493b725a4
commit c98706e0d3
8 changed files with 2885 additions and 21 deletions
+3 -3
View File
@@ -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') {