Explorar o código

更新 默认页面

wzh %!s(int64=3) %!d(string=hai) anos
pai
achega
8af0defcab
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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);