From 4e0e3655f662585afc9812a5a6a402fda9aa480b Mon Sep 17 00:00:00 2001 From: 九米互联 <108703088@qq.com> Date: Wed, 10 Aug 2022 02:25:11 +0000 Subject: [PATCH] update yudao-ui-admin-uniapp/pages/login.vue. 代码的 getCode是错的,captchaEnable --- 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 021e053..24bbdfd 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; } -- libgit2 0.21.4