@kmkf-fe-packages/basic-components 1.8.0-beta.3 → 1.8.0-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
@@ -9303,7 +9303,7 @@ var Goods = function Goods(props) {
9303
9303
  disabled: disabled,
9304
9304
  value: img.supplierName,
9305
9305
  onChange: handleChangeValue('supplierName', index)
9306
- })) : null, type !== 4 && changeSku ? /*#__PURE__*/React.createElement(Button, {
9306
+ })) : null, !disabled && type !== 4 && changeSku ? /*#__PURE__*/React.createElement(Button, {
9307
9307
  style: {
9308
9308
  marginTop: '4px'
9309
9309
  },
@@ -9665,7 +9665,7 @@ var GoodItem = function GoodItem(props) {
9665
9665
  src: img.picUrl || defaultImg,
9666
9666
  className: "img",
9667
9667
  alt: ""
9668
- })), type !== 4 && changeSku ? /*#__PURE__*/React.createElement(Button, {
9668
+ })), !disabled && type !== 4 && changeSku ? /*#__PURE__*/React.createElement(Button, {
9669
9669
  style: {
9670
9670
  marginTop: '4px'
9671
9671
  },
@@ -9689,7 +9689,7 @@ var GoodItem = function GoodItem(props) {
9689
9689
  disabled: item.disabled || disabled,
9690
9690
  onChange: handleChangeValue(item.key, index)
9691
9691
  }));
9692
- }), !hasPic && type !== 4 && changeSku ? /*#__PURE__*/React.createElement(Button, {
9692
+ }), !disabled && !hasPic && type !== 4 && changeSku ? /*#__PURE__*/React.createElement(Button, {
9693
9693
  style: {
9694
9694
  marginTop: '4px'
9695
9695
  },
package/dist/index.js CHANGED
@@ -9315,7 +9315,7 @@ var Goods = function Goods(props) {
9315
9315
  disabled: disabled,
9316
9316
  value: img.supplierName,
9317
9317
  onChange: handleChangeValue('supplierName', index)
9318
- })) : null, type !== 4 && changeSku ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
9318
+ })) : null, !disabled && type !== 4 && changeSku ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
9319
9319
  style: {
9320
9320
  marginTop: '4px'
9321
9321
  },
@@ -9677,7 +9677,7 @@ var GoodItem = function GoodItem(props) {
9677
9677
  src: img.picUrl || defaultImg,
9678
9678
  className: "img",
9679
9679
  alt: ""
9680
- })), type !== 4 && changeSku ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
9680
+ })), !disabled && type !== 4 && changeSku ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
9681
9681
  style: {
9682
9682
  marginTop: '4px'
9683
9683
  },
@@ -9701,7 +9701,7 @@ var GoodItem = function GoodItem(props) {
9701
9701
  disabled: item.disabled || disabled,
9702
9702
  onChange: handleChangeValue(item.key, index)
9703
9703
  }));
9704
- }), !hasPic && type !== 4 && changeSku ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
9704
+ }), !disabled && !hasPic && type !== 4 && changeSku ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
9705
9705
  style: {
9706
9706
  marginTop: '4px'
9707
9707
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.8.0-beta.3",
3
+ "version": "1.8.0-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": "9b8a08d2903221ffe9aacb2c18953dc165e30851"
68
+ "gitHead": "e3f33239c3c1950ab3b3bc53658c09aa3cdb8b54"
69
69
  }