feat: There is no way the, phoneHome 自适应

This commit is contained in:
super_liu
2022-06-16 13:01:53 +08:00
parent 42e3500f68
commit 3315dc2386
3 changed files with 11 additions and 5 deletions
+7 -1
View File
@@ -179,7 +179,13 @@ router.beforeEach(function (to, from, next) {
}
}
}else {
next()
// 区分手机端首页 单独逻辑处理 token 为空 跳回验证页面重新验证
if(fromName === 'databaseSearch' || fromName === 'standDynamics' ||
fromName === 'domesticStand' || fromName === 'domesticDetails'){
next('/loginVerifyPhone')
}else {
next()
}
}
} else {
if (toName.slice(0,5) !== 'phone') {