cloud-b2b 1.1.24 → 1.1.26

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
 
@@ -240,9 +240,9 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
240
240
  return false;
241
241
  } else {
242
242
  if (type === '>') {
243
- return date.format('YYYY-MM-DD') <= value[key];
243
+ return date.format('YYYY-MM-DD') < value[key];
244
244
  } else if (type === '<') {
245
- return date.format('YYYY-MM-DD') >= value[key];
245
+ return date.format('YYYY-MM-DD') > value[key];
246
246
  } else {
247
247
  return false;
248
248
  }
@@ -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
 
@@ -283,9 +283,9 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
283
283
  return false;
284
284
  } else {
285
285
  if (type === '>') {
286
- return date.format('YYYY-MM-DD') <= value[key];
286
+ return date.format('YYYY-MM-DD') < value[key];
287
287
  } else if (type === '<') {
288
- return date.format('YYYY-MM-DD') >= value[key];
288
+ return date.format('YYYY-MM-DD') > value[key];
289
289
  } else {
290
290
  return false;
291
291
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-b2b",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "A react component library dependent antd",
5
5
  "keywords": [
6
6
  "react",