wzh пре 3 година
родитељ
комит
8af0defcab
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);