forked from p96170835/amis
有可能 Service 套 Service, 深层次的 Service 也需要更新 form
This commit is contained in:
parent
1c53631f32
commit
4b363882c6
|
@ -57,11 +57,7 @@ export class ServiceRenderer extends BasicService {
|
|||
const formStore: IFormStore = this.props.formStore;
|
||||
const onChange = this.props.onChange;
|
||||
|
||||
if (
|
||||
formStore &&
|
||||
formStore === this.props.store.parentStore &&
|
||||
this.isFormMode()
|
||||
) {
|
||||
if (formStore && this.isFormMode()) {
|
||||
const keys = Object.keys(payload.data);
|
||||
|
||||
if (keys.length) {
|
||||
|
|
Loading…
Reference in New Issue