@@ -43,7 +43,7 @@ router.beforeEach(async (to, from, next) => {
// 否则全部重定向到登录页
if (to.path === '/gesture') {
next(`/login/qrcode`);
- }if (to.path === '/sunshineRun') {
+ }else if (to.path === '/sunshineRun') {
next(`/login/sunshineRun`);
} else {
next(`/login`);