Merge pull request #8976 from igrowp/fix-editor-set-value

fix: Form 数据同步改为lazyEmitChange
This commit is contained in:
hsm-lv 2023-12-01 14:46:26 +08:00 committed by GitHub
commit 02e3fe8c50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -530,7 +530,8 @@ export default class Form extends React.Component<FormProps, object> {
reaction(
() => store.initedAt,
() => {
store.inited && this.emitChange(!!this.props.submitOnChange, true);
store.inited &&
this.lazyEmitChange(!!this.props.submitOnChange, true);
}
)
);