From 8284a87d363a8e67c4f0b1eea4c0ef309c36eaa8 Mon Sep 17 00:00:00 2001 From: beginner <52942568@qq.com> Date: Wed, 5 Nov 2025 01:25:06 +0000 Subject: [PATCH] =?UTF-8?q?!247=20feat(login):=20=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E6=97=B6=E6=B8=85=E7=A9=BA=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E8=BE=93=E5=85=A5=E6=A1=86=20*=20feat(login)?= =?UTF-8?q?:=20=E5=88=B7=E6=96=B0=E9=AA=8C=E8=AF=81=E7=A0=81=E6=97=B6?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E9=AA=8C=E8=AF=81=E7=A0=81=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=20*=20feat(login):=20=E6=B7=BB=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E9=94=99=E8=AF=AF=E6=97=B6=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E8=BE=93=E5=85=A5=E6=A1=86=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/login.vue b/src/views/login.vue index f641549..dad7945 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -176,6 +176,8 @@ const getCode = async () => { const { data } = res; captchaEnabled.value = data.captchaEnabled === undefined ? true : data.captchaEnabled; if (captchaEnabled.value) { + // 刷新验证码时清空输入框 + loginForm.value.code = ''; codeUrl.value = 'data:image/gif;base64,' + data.img; loginForm.value.uuid = data.uuid; }