@bit-sun/business-component 2.0.39-alpha.16 → 2.0.39-alpha.17

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.
package/dist/index.esm.js CHANGED
@@ -25648,7 +25648,9 @@ function convertFileds(fields, falltValue, faltFieldRange, containerName) {
25648
25648
  });
25649
25649
  } else {
25650
25650
  var returnField = field.isStaticCode ? falltValue[containerName ? containerName + field.name : field.name] : faltFieldRange[field.name];
25651
- returnField.label = field === null || field === void 0 ? void 0 : field.label;
25651
+ if (returnField) {
25652
+ returnField.label = field === null || field === void 0 ? void 0 : field.label;
25653
+ }
25652
25654
  return returnField;
25653
25655
  }
25654
25656
  return _objectSpread2(_objectSpread2({}, falltValue[field === null || field === void 0 ? void 0 : (_field$container7 = field.container) === null || _field$container7 === void 0 ? void 0 : _field$container7.name]), {}, {
package/dist/index.js CHANGED
@@ -25666,7 +25666,9 @@ function convertFileds(fields, falltValue, faltFieldRange, containerName) {
25666
25666
  });
25667
25667
  } else {
25668
25668
  var returnField = field.isStaticCode ? falltValue[containerName ? containerName + field.name : field.name] : faltFieldRange[field.name];
25669
- returnField.label = field === null || field === void 0 ? void 0 : field.label;
25669
+ if (returnField) {
25670
+ returnField.label = field === null || field === void 0 ? void 0 : field.label;
25671
+ }
25670
25672
  return returnField;
25671
25673
  }
25672
25674
  return _objectSpread2(_objectSpread2({}, falltValue[field === null || field === void 0 ? void 0 : (_field$container7 = field.container) === null || _field$container7 === void 0 ? void 0 : _field$container7.name]), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "2.0.39-alpha.16",
3
+ "version": "2.0.39-alpha.17",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -72,7 +72,9 @@ function convertFileds (fields, falltValue, faltFieldRange, containerName) {
72
72
  })
73
73
  } else {
74
74
  const returnField = field.isStaticCode ? falltValue[containerName ? (containerName + field.name) : field.name] : faltFieldRange[field.name];
75
- returnField.label = field?.label;
75
+ if (returnField) {
76
+ returnField.label = field?.label;
77
+ }
76
78
  return returnField;
77
79
  }
78
80