Commit 4e0e3655f662585afc9812a5a6a402fda9aa480b

Authored by 九米互联
Committed by Gitee
1 parent ffa2850a

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

代码的 getCode是错的,captchaEnable
yudao-ui-admin-uniapp/pages/login.vue
... ... @@ -67,8 +67,8 @@
67 67 getCode() {
68 68 getCodeImg().then(res => {
69 69 res = res.data;
70   - this.captchaEnable = res.enable;
71   - if (this.captchaEnable) {
  70 + this.captchaEnabled = res.enable;
  71 + if (this.captchaEnabled) {
72 72 this.codeUrl = "data:image/gif;base64," + res.img;
73 73 this.loginForm.uuid = res.uuid;
74 74 }
... ...