Skip to content

Commit 13a3875

Browse files
committed
fix props.loadFields
1 parent 583a9d6 commit 13a3875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile-ui/src/components/form/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ const Form: React.FC<FormProps> = (props) => {
353353

354354
useEffect(() => {
355355
reloadFields();
356-
}, []);
356+
}, [props.loadFields]);
357357

358358

359359
React.useImperativeHandle(props.actionRef, () => {

0 commit comments

Comments
 (0)