Ver Fonte

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

wzh há 3 anos atrás
pai
commit
fac29437c8
1 ficheiros alterados com 5 adições e 1 exclusões
  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);