src/views/login.vue @@ -210,6 +210,7 @@ this.$router.push({ path: this.redirect || "/" }).catch(() => { }) }).catch(() => { this.loading = false this.$message.error('账号或密码错误,请重新输入') if (this.captchaEnabled) { this.getCode() }