mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-08 07:08:34 +08:00
api重复两次替换
This commit is contained in:
parent
b6bee05379
commit
2bb831bf7c
@ -22,7 +22,9 @@ export const UserInfoModel: React.FC<PropInterface> = ({ open, onCancel }) => {
|
||||
const [idCard, setIdCard] = useState<string>("");
|
||||
|
||||
useEffect(() => {
|
||||
getUser();
|
||||
if (open) {
|
||||
getUser();
|
||||
}
|
||||
}, [form, open]);
|
||||
|
||||
const getUser = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user