Commit 95e6b3904e419edc7b4a1fdfc726469966cafb74
Committed by
Gitee
!251 update yudao-ui-admin-uniapp/pages/login.vue.
Merge pull request !251 from 九米互联/N/A
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-ui-admin-uniapp/pages/login.vue
| @@ -67,8 +67,8 @@ | @@ -67,8 +67,8 @@ | ||
| 67 | getCode() { | 67 | getCode() { |
| 68 | getCodeImg().then(res => { | 68 | getCodeImg().then(res => { |
| 69 | res = res.data; | 69 | res = res.data; |
| 70 | - this.captchaEnable = res.enable; | ||
| 71 | - if (this.captchaEnable) { | 70 | + this.captchaEnabled = res.enable; |
| 71 | + if (this.captchaEnabled) { | ||
| 72 | this.codeUrl = "data:image/gif;base64," + res.img; | 72 | this.codeUrl = "data:image/gif;base64," + res.img; |
| 73 | this.loginForm.uuid = res.uuid; | 73 | this.loginForm.uuid = res.uuid; |
| 74 | } | 74 | } |