소스 검색

Merge branch 'master' of http://git.huihenduo.com.cn:3000/wzh/JiangYunPhotosCargoOwner_WebApp into wuchan

wzh 3 년 전
부모
커밋
fac29437c8
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/main.js

+ 5 - 1
src/main.js

@@ -38,7 +38,11 @@ router.beforeEach(async (to, from, next) => {
         next();
       }
     } else {
-      next();
+      if (to.path == "/") {
+        next("/voyage/voyageList");
+      } else {
+        next();
+      }
     }
   } else {
     store.commit("changeLogin", false);