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:
@@ -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();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user