浏览代码

修复去除首页的bug1

JXDS18FUJT 2 年之前
父节点
当前提交
38472764b4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;