mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-24 23:04:40 +08:00
fix: 验证码错误后清空验证码输入框 (#740)
This commit is contained in:
parent
4399ffa9a4
commit
0f6e98be20
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue