diff --git a/vue/src/views/login.vue b/vue/src/views/login.vue index 04296157..95815f99 100644 --- a/vue/src/views/login.vue +++ b/vue/src/views/login.vue @@ -236,7 +236,8 @@ export default { }, getCode() { 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) { this.codeUrl = 'data:image/gif;base64,' + res.img; this.loginForm.uuid = res.uuid;