|
@@ -83,7 +83,8 @@ |
|
@@ -83,7 +83,8 @@ |
|
83
|
// 获取图形验证码
|
83
|
// 获取图形验证码
|
|
84
|
getCode() {
|
84
|
getCode() {
|
|
85
|
getCodeImg().then(res => {
|
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
|
if (this.captchaEnabled) {
|
88
|
if (this.captchaEnabled) {
|
|
88
|
this.codeUrl = res.data.image
|
89
|
this.codeUrl = res.data.image
|
|
89
|
this.loginForm.sn = res.data.sn
|
90
|
this.loginForm.sn = res.data.sn
|