From 1dbb8c69ced175505921f58c160932481f300e9f Mon Sep 17 00:00:00 2001 From: wxy Date: Tue, 23 Apr 2024 16:49:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/login.vue b/src/views/login.vue index bdd86d9..5e452e9 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -110,7 +110,7 @@ export default { methods: { getCode() { getCodeImg().then(res => { - this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.data.captchaEnabled; + this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; if (this.captchaEnabled) { this.codeUrl = "data:image/gif;base64," + res.data.img; this.loginForm.uuid = res.data.uuid;