fix: 输入错误时,自动清空验证码输入框

This commit is contained in:
Charles7c 2023-08-09 20:46:40 +08:00
parent 0fae13e779
commit a76f47fbd8

View File

@ -163,6 +163,7 @@
}) })
.catch(() => { .catch(() => {
getCaptcha(); getCaptcha();
form.value.captcha = '';
}) })
.finally(() => { .finally(() => {
loading.value = false; loading.value = false;