Explorar el Código

fix: corrige rota principal

ebagabee hace 4 semanas
padre
commit
75eae94cc9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -50,7 +50,7 @@ export default defineRouter(function (/* { store, ssrContext } */) {
     }
     if (userStore().accessToken) {
       if (to.name == "LoginPage") {
-        return next({ name: "HomePage" });
+        return next({ name: "DashboardPage" });
       }
     }
     if (to.meta.requiredPermission) {