From 4e0e3655f662585afc9812a5a6a402fda9aa480b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=9D=E7=B1=B3=E4=BA=92=E8=81=94?= <108703088@qq.com> Date: Wed, 10 Aug 2022 02:25:11 +0000 Subject: [PATCH] =?UTF-8?q?update=20yudao-ui-admin-uniapp/pages/login.vue.?= =?UTF-8?q?=20=E4=BB=A3=E7=A0=81=E7=9A=84=20getCode=E6=98=AF=E9=94=99?= =?UTF-8?q?=E7=9A=84=EF=BC=8CcaptchaEnable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin-uniapp/pages/login.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yudao-ui-admin-uniapp/pages/login.vue b/yudao-ui-admin-uniapp/pages/login.vue index 021e0530b..24bbdfd05 100644 --- a/yudao-ui-admin-uniapp/pages/login.vue +++ b/yudao-ui-admin-uniapp/pages/login.vue @@ -67,8 +67,8 @@ getCode() { getCodeImg().then(res => { res = res.data; - this.captchaEnable = res.enable; - if (this.captchaEnable) { + this.captchaEnabled = res.enable; + if (this.captchaEnabled) { this.codeUrl = "data:image/gif;base64," + res.img; this.loginForm.uuid = res.uuid; }