update yudao-ui-admin-uniapp/pages/login.vue.

代码的 getCode是错的,captchaEnable
This commit is contained in:
九米互联 2022-08-10 02:25:11 +00:00 committed by Gitee
parent ffa2850a22
commit 4e0e3655f6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;
}