fix: form中dialog mergeData 数据同步问题 (#2515)

This commit is contained in:
Allen 2021-09-07 15:47:36 +08:00 committed by GitHub
parent 381baef0b9
commit c4bc3af604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1142,13 +1142,7 @@ export default class Form extends React.Component<FormProps, object> {
values[0] &&
targets[0].props.type === 'form'
) {
store.updateData(values[0]);
onChange &&
onChange(
store.data,
difference(store.data, store.pristine),
this.props
);
this.handleBulkChange(values[0], false);
}
store.closeDialog(true);