Merge pull request #426 from answerdev/feat/1.1.1/ui

fix(PicAuthCodeModal): Optimize the image captcha style and improve t…
This commit is contained in:
haitao.jarvis
2023-07-04 15:13:38 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ const Index: React.FC<IProps> = ({
<Modal.Body>
<Form noValidate onSubmit={clickSubmit}>
<Form.Group controlId="code" className="mb-3">
<div className="mb-3">
<div className="mb-3 p-2 d-flex align-items-center justify-content-center bg-light rounded-2">
<img
src={imgCode?.captcha_img}
alt="code"
@@ -135,6 +135,7 @@ const Index: React.FC<Props> = ({ callback }) => {
}
setFormData({ ...data });
}
getImgCode();
});
};