Browse Source

修复去除首页的bug1

JXDS18FUJT 2 years ago
parent
commit
38472764b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/login.vue

+ 1 - 1
src/views/login.vue

@@ -129,7 +129,7 @@ export default {
           this.$store
             .dispatch("Login", this.loginForm)
             .then(() => {
-              this.$router.push({ path: this.redirect || "/" });
+              this.$router.push("/query");
             })
             .catch(() => {
               this.loading = false;