Commit bf8b592b authored by anxixi's avatar anxixi

手机端跳转问题

parent 47ae43eb
......@@ -151,8 +151,12 @@ 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(ismobile == 1) router.push('/mobileRegister');
else router.push('/login');
if(to.path == '/projectlist'){
router.push('/mobileRegister');
}else{
if(ismobile == 1) router.replace('/mobileRegister');
else router.push('/login');
}
}
}
}else{
......
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