cloud-b2b 1.1.15 → 1.1.16
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.
|
@@ -186,8 +186,10 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
186
186
|
|
|
187
187
|
_defineProperty(_assertThisInitialized(_this), "isMatchRemark", function (inputValue, option) {
|
|
188
188
|
var _option$props = option.props,
|
|
189
|
-
text = _option$props.text,
|
|
190
|
-
|
|
189
|
+
_option$props$text = _option$props.text,
|
|
190
|
+
text = _option$props$text === void 0 ? '' : _option$props$text,
|
|
191
|
+
_option$props$remark = _option$props.remark,
|
|
192
|
+
remark = _option$props$remark === void 0 ? '' : _option$props$remark;
|
|
191
193
|
return _indexOfInstanceProperty(text).call(text, inputValue) > -1 || _indexOfInstanceProperty(remark).call(remark, inputValue) > -1;
|
|
192
194
|
});
|
|
193
195
|
|
|
@@ -209,8 +209,10 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
209
209
|
});
|
|
210
210
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "isMatchRemark", function (inputValue, option) {
|
|
211
211
|
var _option$props = option.props,
|
|
212
|
-
text = _option$props.text,
|
|
213
|
-
|
|
212
|
+
_option$props$text = _option$props.text,
|
|
213
|
+
text = _option$props$text === void 0 ? '' : _option$props$text,
|
|
214
|
+
_option$props$remark = _option$props.remark,
|
|
215
|
+
remark = _option$props$remark === void 0 ? '' : _option$props$remark;
|
|
214
216
|
return (0, _indexOf["default"])(text).call(text, inputValue) > -1 || (0, _indexOf["default"])(remark).call(remark, inputValue) > -1;
|
|
215
217
|
});
|
|
216
218
|
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "isValidValue", function (value) {
|