cloud-b2b 1.1.23 → 1.1.25

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.
@@ -94,10 +94,13 @@ var toOption = function toOption(_ref, index) {
94
94
 
95
95
  var toRadio = function toRadio(_ref2, index) {
96
96
  var value = _ref2.value,
97
- title = _ref2.title;
97
+ title = _ref2.title,
98
+ _ref2$disabled = _ref2.disabled,
99
+ disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
98
100
  return /*#__PURE__*/React.createElement(_Radio, {
99
101
  key: index,
100
- value: String(value)
102
+ value: String(value),
103
+ disabled: disabled
101
104
  }, title);
102
105
  }; // 文本输入框
103
106
 
@@ -412,8 +412,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
412
412
  type: type
413
413
  }, props), {}, {
414
414
  size: defaultSize,
415
- value: makeString(value[control.key]),
416
- readonly: readonly
415
+ value: makeString(value[control.key])
417
416
  });
418
417
  });
419
418
 
@@ -144,10 +144,13 @@ var toOption = function toOption(_ref, index) {
144
144
 
145
145
  var toRadio = function toRadio(_ref2, index) {
146
146
  var value = _ref2.value,
147
- title = _ref2.title;
147
+ title = _ref2.title,
148
+ _ref2$disabled = _ref2.disabled,
149
+ disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
148
150
  return /*#__PURE__*/_react["default"].createElement(_radio["default"], {
149
151
  key: index,
150
- value: String(value)
152
+ value: String(value),
153
+ disabled: disabled
151
154
  }, title);
152
155
  }; // 文本输入框
153
156
 
@@ -448,8 +448,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
448
448
  type: type
449
449
  }, props), {}, {
450
450
  size: defaultSize,
451
- value: (0, _Control.makeString)(value[control.key]),
452
- readonly: readonly
451
+ value: (0, _Control.makeString)(value[control.key])
453
452
  });
454
453
  });
455
454
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "getOptions", function (key, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-b2b",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "description": "A react component library dependent antd",
5
5
  "keywords": [
6
6
  "react",