From 3ca37645ae74dd2a2eded60306ea9880b65f4733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Mon, 18 Apr 2022 10:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E4=B8=8D=E4=BC=9A=E6=8F=90=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Vue/src/views/login.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ZR.Vue/src/views/login.vue b/ZR.Vue/src/views/login.vue index f716be7..0003354 100644 --- a/ZR.Vue/src/views/login.vue +++ b/ZR.Vue/src/views/login.vue @@ -134,7 +134,8 @@ export default { this.msgSuccess('登录成功') this.$router.push({ path: this.redirect || '/' }) }) - .catch(() => { + .catch((error) => { + this.msgError(error.msg); this.loading = false this.getCode() this.$refs.codeTxt.focus()