From 8f578c0a71979a082d75b6ce15ef33d37fc1a749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E8=B0=83?= <3084898776@qq.com> Date: Tue, 13 Aug 2024 10:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E4=BA=86=E9=AA=8C=E8=AF=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 2746623..6f7108d 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -104,19 +104,19 @@ export default { } }, created() { - this.getCode(); + // this.getCode(); this.getCookie(); }, methods: { - getCode() { - getCodeImg().then(res => { - this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.data.captchaEnabled; - if (this.captchaEnabled) { - this.codeUrl = "data:image/gif;base64," + res.data.img; - this.loginForm.uuid = res.data.uuid; - } - }); - }, + // getCode() { + // getCodeImg().then(res => { + // this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.data.captchaEnabled; + // if (this.captchaEnabled) { + // this.codeUrl = "data:image/gif;base64," + res.data.img; + // this.loginForm.uuid = res.data.uuid; + // } + // }); + // }, getCookie() { const username = Cookies.get("username"); const password = Cookies.get("password");