diff --git a/src/views/login.vue b/src/views/login.vue index c67e7df6b84680db404095d49590e7a5944903d3..6493d975d0580acad8575ff70267f5f7973a3936 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -135,7 +135,7 @@ export default { methods: { getCode() { getCodeImg().then(res => { - this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; + this.captchaEnabled = res.captchaOnOff === undefined ? true : res.captchaOnOff; if (this.captchaEnabled) { this.codeUrl = "data:image/gif;base64," + res.img; this.loginForm.uuid = res.uuid;