mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 00:09:16 +08:00
fix: 验证码错误后清空验证码输入框 (#740)
This commit is contained in:
parent
4399ffa9a4
commit
0f6e98be20
@ -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…
x
Reference in New Issue
Block a user