@kmkf-fe-packages/basic-components 0.7.12-alpha.5 → 0.7.12-alpha.7

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
@@ -1540,7 +1540,7 @@ var RemarkInput = function RemarkInput(props) {
1540
1540
  },
1541
1541
  value: value === null || value === void 0 ? void 0 : value.flag,
1542
1542
  onChange: changeUrl
1543
- }, imgList.map(function (item, index) {
1543
+ }, imgList === null || imgList === void 0 ? void 0 : imgList.map(function (item, index) {
1544
1544
  return /*#__PURE__*/React.createElement(Radio, {
1545
1545
  value: index,
1546
1546
  key: item,
@@ -2023,7 +2023,7 @@ var GoodsModal = function GoodsModal(props) {
2023
2023
  setPlatformHandle(platform);
2024
2024
  if (imgList.length) {
2025
2025
  setSelect(imgList);
2026
- var ids = imgList.map(function (item) {
2026
+ var ids = imgList === null || imgList === void 0 ? void 0 : imgList.map(function (item) {
2027
2027
  return item.numIid;
2028
2028
  });
2029
2029
  if (!(changeSku || type === 4)) {
@@ -3928,7 +3928,7 @@ var GoodsModal$1 = function GoodsModal(props) {
3928
3928
  setPlatformHandle(platform);
3929
3929
  if (imgList.length) {
3930
3930
  setSelect(imgList);
3931
- var ids = imgList.map(function (item) {
3931
+ var ids = imgList === null || imgList === void 0 ? void 0 : imgList.map(function (item) {
3932
3932
  return item.numIid;
3933
3933
  });
3934
3934
  setSelectIds(ids);
package/dist/index.js CHANGED
@@ -1550,7 +1550,7 @@ var RemarkInput = function RemarkInput(props) {
1550
1550
  },
1551
1551
  value: value === null || value === void 0 ? void 0 : value.flag,
1552
1552
  onChange: changeUrl
1553
- }, imgList.map(function (item, index) {
1553
+ }, imgList === null || imgList === void 0 ? void 0 : imgList.map(function (item, index) {
1554
1554
  return /*#__PURE__*/React__default['default'].createElement(antd.Radio, {
1555
1555
  value: index,
1556
1556
  key: item,
@@ -2033,7 +2033,7 @@ var GoodsModal = function GoodsModal(props) {
2033
2033
  setPlatformHandle(platform);
2034
2034
  if (imgList.length) {
2035
2035
  setSelect(imgList);
2036
- var ids = imgList.map(function (item) {
2036
+ var ids = imgList === null || imgList === void 0 ? void 0 : imgList.map(function (item) {
2037
2037
  return item.numIid;
2038
2038
  });
2039
2039
  if (!(changeSku || type === 4)) {
@@ -3938,7 +3938,7 @@ var GoodsModal$1 = function GoodsModal(props) {
3938
3938
  setPlatformHandle(platform);
3939
3939
  if (imgList.length) {
3940
3940
  setSelect(imgList);
3941
- var ids = imgList.map(function (item) {
3941
+ var ids = imgList === null || imgList === void 0 ? void 0 : imgList.map(function (item) {
3942
3942
  return item.numIid;
3943
3943
  });
3944
3944
  setSelectIds(ids);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.7.12-alpha.5",
3
+ "version": "0.7.12-alpha.7",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "^0.7.12-alpha.5",
23
+ "@kmkf-fe-packages/kmkf-utils": "^0.7.12-alpha.6",
24
24
  "umi-request": "^1.4.0"
25
25
  },
26
26
  "devDependencies": {
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "b9d59b5135e03e0f1b3e503a20da1590c1159047"
57
+ "gitHead": "c082dcb1f38908b6690180cec185bb74e7c35987"
58
58
  }