@kmkf-fe-packages/basic-components 2.0.54-beta.3 → 2.0.54-beta.4

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
@@ -8001,7 +8001,8 @@ var WidgetMap = {
8001
8001
  var pageSize = 50;
8002
8002
  var SubForm = function SubForm(props) {
8003
8003
  var _selectOptions$;
8004
- var value = props.value,
8004
+ var _props$value = props.value,
8005
+ value = _props$value === void 0 ? [] : _props$value,
8005
8006
  onChange = props.onChange,
8006
8007
  needFilterShopByPermission = props.needFilterShopByPermission,
8007
8008
  _props$subConfig = props.subConfig,
@@ -8303,7 +8304,7 @@ var SubForm = function SubForm(props) {
8303
8304
  }
8304
8305
  });
8305
8306
  }
8306
- onChange === null || onChange === void 0 ? void 0 : onChange([].concat(_toConsumableArray(value), [_objectSpread2(_objectSpread2({}, newValue), {}, {
8307
+ onChange === null || onChange === void 0 ? void 0 : onChange([].concat(_toConsumableArray(value || []), [_objectSpread2(_objectSpread2({}, newValue), {}, {
8307
8308
  uuid: uuid()
8308
8309
  })]));
8309
8310
  };
package/dist/index.js CHANGED
@@ -8013,7 +8013,8 @@ var WidgetMap = {
8013
8013
  var pageSize = 50;
8014
8014
  var SubForm = function SubForm(props) {
8015
8015
  var _selectOptions$;
8016
- var value = props.value,
8016
+ var _props$value = props.value,
8017
+ value = _props$value === void 0 ? [] : _props$value,
8017
8018
  onChange = props.onChange,
8018
8019
  needFilterShopByPermission = props.needFilterShopByPermission,
8019
8020
  _props$subConfig = props.subConfig,
@@ -8315,7 +8316,7 @@ var SubForm = function SubForm(props) {
8315
8316
  }
8316
8317
  });
8317
8318
  }
8318
- onChange === null || onChange === void 0 ? void 0 : onChange([].concat(_toConsumableArray(value), [_objectSpread2(_objectSpread2({}, newValue), {}, {
8319
+ onChange === null || onChange === void 0 ? void 0 : onChange([].concat(_toConsumableArray(value || []), [_objectSpread2(_objectSpread2({}, newValue), {}, {
8319
8320
  uuid: kmkfUtils.uuid()
8320
8321
  })]));
8321
8322
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.54-beta.3",
3
+ "version": "2.0.54-beta.4",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "589761f1e797ee16bb6ffe7c973181646609e556"
68
+ "gitHead": "e7d6b28e01b8ab248864b050a3f826ee873125fa"
69
69
  }