Forráskód Böngészése

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

wzh 3 éve
szülő
commit
fac29437c8
1 módosított fájl, 5 hozzáadás és 1 törlés
  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);