林旭祥 před 3 dny
rodič
revize
164eb9add6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/router/permission.ts

+ 1 - 1
src/router/permission.ts

@@ -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`);