fix(client): setFormValueChanged must be defined

This commit is contained in:
chenos 2022-05-05 16:40:29 +08:00
parent 61b28b37db
commit b33c8198e6

View File

@ -62,7 +62,7 @@ const WithForm = (props) => {
const id = uid();
form.addEffects(id, () => {
onFormInputChange((form) => {
setFormValueChanged(true);
setFormValueChanged?.(true);
});
});
return () => {