xiaochan il y a 2 mois
Parent
commit
1303b7c471
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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");
       }
     }
   });