Showing
2 changed files
with
4 additions
and
2 deletions
| ... | ... | @@ -83,7 +83,8 @@ |
| 83 | 83 | // 获取图形验证码 |
| 84 | 84 | getCode() { |
| 85 | 85 | getCodeImg().then(res => { |
| 86 | - this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled | |
| 86 | + console.log('getCodeImgres', res) | |
| 87 | + this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.data.captchaEnabled | |
| 87 | 88 | if (this.captchaEnabled) { |
| 88 | 89 | this.codeUrl = res.data.image |
| 89 | 90 | this.loginForm.sn = res.data.sn | ... | ... |