From e8911e2c9f095bf8971f7b76499b8da9df3eb53b 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, 15 Nov 2021 09:28:31 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=99=BB=E5=BD=95=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E5=88=B7=E6=96=B0=E5=90=8E=E8=BE=93=E5=85=A5=E4=B8=8D?= =?UTF-8?q?=E4=BA=86=E9=AA=8C=E8=AF=81=E7=A0=81=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, 1 insertion(+), 2 deletions(-) diff --git a/ZR.Vue/src/views/login.vue b/ZR.Vue/src/views/login.vue index 2cd8200..5bfdd0e 100644 --- a/ZR.Vue/src/views/login.vue +++ b/ZR.Vue/src/views/login.vue @@ -84,7 +84,7 @@ export default { }, methods: { getCode() { - this.loginForm.code = ""; + // this.loginForm.code = ""; getCodeImg().then((res) => { this.codeUrl = "data:image/gif;base64," + res.data.img; this.loginForm.uuid = res.data.uuid; @@ -130,7 +130,6 @@ export default { .catch((error) => { this.$message(error.msg); this.loading = false; - this.loginForm.code = ""; this.getCode(); this.$refs.codeTxt.focus(); });