xiaochan hai 2 meses
pai
achega
1303b7c471
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/system/login.vue

+ 2 - 1
src/views/system/login.vue

@@ -120,7 +120,8 @@ const submit = () => {
       if (url.searchQuery?.redirect) {
         location.href = url.search.replace("?redirect=", "");
       } else {
-        router.push("/dashboard");
+        location.href = "/dashboard";
+        // router.push("/dashboard");
       }
     }
   });