mirror of https://gitee.com/answerdev/answer.git
fix(PicAuthCodeModal): Optimize the image captcha style and improve the automatic refresh of the captcha.
This commit is contained in:
parent
a96f73a95e
commit
c620d466f1
|
@ -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();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue