Commit 89784212 authored by anxixi's avatar anxixi

修改手机端未登录跳转

parent f1c8aebd
......@@ -151,10 +151,10 @@ router.beforeEach((to, from, next) => {
if(to.path == '/termserviceed'||to.path == '/privacypolicyed'||to.path == '/contactused'||to.path == '/aboutused'||to.path == '/casedetailsed'||to.path == '/lndustryfocused'||to.path == '/successfulcaseed'||to.path == '/usehelped'||to.path == '/useHelp'||to.path == '/reminder'||to.path == '/contactus' ||to.path == '/privacypolicy' ||to.path == '/termservice' ||to.path == '/casedetails' ||to.path == '/successfulcase' ||to.path == '/lndustryfocus' ||to.path == '/aboutus' ){
}else{
if(to.path == '/projectlist'){
router.push('/mobileRegister');
if(to.path == '/phoneBusinessList'){
router.replace('/mobileRegister');
}else{
if(ismobile == 1) router.replace('/mobileRegister');
if(ismobile == 1) router.push('/mobileRegister');
else router.push('/login');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment