Merge branch 'dev'

This commit is contained in:
gx_ma
2024-08-14 16:32:43 +08:00

View File

@@ -236,7 +236,8 @@ export default {
}, },
getCode() { getCode() {
getCodeImg().then((res) => { getCodeImg().then((res) => {
this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff; //this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
this.captchaOnOff = res.captchaEnabled;
if (this.captchaOnOff) { if (this.captchaOnOff) {
this.codeUrl = 'data:image/gif;base64,' + res.img; this.codeUrl = 'data:image/gif;base64,' + res.img;
this.loginForm.uuid = res.uuid; this.loginForm.uuid = res.uuid;