Browse Source

登录问题

xiaochan 2 months ago
parent
commit
1303b7c471
1 changed files with 2 additions and 1 deletions
  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");
       }
     }
   });