diff --git a/frontend/src/views/login/components/login-form.vue b/frontend/src/views/login/components/login-form.vue index 6b99747f0..7242eb3cf 100644 --- a/frontend/src/views/login/components/login-form.vue +++ b/frontend/src/views/login/components/login-form.vue @@ -303,6 +303,7 @@ const login = (formEl: FormInstance | undefined) => { const res = await loginApi(requestLoginForm); if (res.code === 406) { if (res.message === 'ErrCaptchaCode') { + loginForm.captcha = ''; errCaptcha.value = true; errAuthInfo.value = false; }