소스 검색

代码修改

林旭祥 2 달 전
부모
커밋
164eb9add6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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`);