@byteluck-fe/model-driven-engine 2.8.1-alpha.8 → 2.8.1-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -365,9 +365,9 @@ item) {
365
365
  // @ts-ignore
366
366
  if (((_item_props_dataBind_dataBindKey = item.props.dataBind[dataBindKey]) === null || _item_props_dataBind_dataBindKey === void 0 ? void 0 : _item_props_dataBind_dataBindKey.fieldCode) != "") {
367
367
  var // @ts-ignore
368
- _item_props_dataBind_dataBindKey1;
368
+ _item_props_dataBind_dataBindKey1, _result_;
369
369
  // @ts-ignore
370
- data[(_item_props_dataBind_dataBindKey1 = item.props.dataBind[dataBindKey]) === null || _item_props_dataBind_dataBindKey1 === void 0 ? void 0 : _item_props_dataBind_dataBindKey1.fieldCode] = result[0].fields[dataBindKey];
370
+ data[(_item_props_dataBind_dataBindKey1 = item.props.dataBind[dataBindKey]) === null || _item_props_dataBind_dataBindKey1 === void 0 ? void 0 : _item_props_dataBind_dataBindKey1.fieldCode] = ((_result_ = result[0]) === null || _result_ === void 0 ? void 0 : _result_.fields[dataBindKey]) || [];
371
371
  }
372
372
  }
373
373
  }
@@ -397,7 +397,7 @@ item) {
397
397
  var _childResult_;
398
398
  // @ts-ignore
399
399
  itemRules.fields[index].fields[// @ts-ignore
400
- formControl.props.dataBind[dataBindKey].fieldCode] = (_childResult_ = childResult[0]) === null || _childResult_ === void 0 ? void 0 : _childResult_.fields[dataBindKey];
400
+ formControl.props.dataBind[dataBindKey].fieldCode] = ((_childResult_ = childResult[0]) === null || _childResult_ === void 0 ? void 0 : _childResult_.fields[dataBindKey]) || [];
401
401
  }
402
402
  }
403
403
  } else {