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(); });