From dfea113a5854958b05a74edb3df0c03e01254166 Mon Sep 17 00:00:00 2001 From: zhangyichen <5277314+zacty@user.noreply.gitee.com> Date: Thu, 14 Apr 2022 09:49:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/checkPage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/login/checkPage.vue b/src/pages/login/checkPage.vue index 344b231c9..1b0d2b6d4 100644 --- a/src/pages/login/checkPage.vue +++ b/src/pages/login/checkPage.vue @@ -40,10 +40,10 @@ export default { this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.loading.close(); }); - this.$router.go(-1) + this.$router.push('login') this.$message.error(res.message) } else { - this.$router.go(-1) + this.$router.push('login') this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 this.loading.close(); });