From e2cf4ce202b7123a0981c22101ec26b5f14abcae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Fri, 26 Aug 2022 16:11:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/yinnongLogin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/yinnongLogin.vue b/src/views/yinnongLogin.vue index 651f60d1..41a1ca89 100644 --- a/src/views/yinnongLogin.vue +++ b/src/views/yinnongLogin.vue @@ -333,7 +333,7 @@ export default { message: '密码不能为空', }); return false; - } else if (this.formData.code == "") { + } else if (!this.formData.code) { this.$dialog.alert({ message: '图片验证码不能为空', });