Skip to content

Commit af85d59

Browse files
committed
fix: 修复登录失败时未关闭二次验证弹窗 fixes #13
1 parent c0d1c1e commit af85d59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/user/Login/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ const Login: React.FC = () => {
8181
// 如果失败去设置用户错误信息
8282
setUserLoginState({ status: 'error', type });
8383
setSubmitting(false);
84+
setCaptchaShow(false);
8485
});
8586
};
8687

0 commit comments

Comments
 (0)