mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
fix: form中dialog mergeData 数据同步问题 (#2515)
This commit is contained in:
parent
381baef0b9
commit
c4bc3af604
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user