Ver Fonte

更新 默认页面

wzh há 3 anos atrás
pai
commit
8af0defcab
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);