Skip to content

Commit

Permalink
fix: 修复登录失败时未关闭二次验证弹窗 fixes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
lingting committed Nov 9, 2022
1 parent c0d1c1e commit af85d59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/user/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const Login: React.FC = () => {
// 如果失败去设置用户错误信息
setUserLoginState({ status: 'error', type });
setSubmitting(false);
setCaptchaShow(false);
});
};

Expand Down

0 comments on commit af85d59

Please sign in to comment.