ztxkui 3.0.13 → 3.0.14

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.
@@ -426,7 +426,7 @@ function EnhanceSelect(_a) {
426
426
  Array.isArray(selectList) &&
427
427
  concatData(concatData(selectList, _defaultList), multipleList).map(function (item) {
428
428
  var key = componentKey ? item[componentKey] : item[dataKey];
429
- var value = item[dataKey] + '';
429
+ var value = item[dataKey];
430
430
  var title = item[titleKey];
431
431
  var joinTitle = [];
432
432
  var linefeedTitle = [];
@@ -551,8 +551,6 @@ function EnhanceSelect(_a) {
551
551
  };
552
552
  return (React.createElement(Select, __assign({ defaultValue: showAll ? '' : undefined, allowClear: true, showSearch: true, filterOption: remoteSearch ? false : filterOptionHandle, onSearch: remoteSearch ? onSearchHandle : onSearch, onChange: onChangeHandle, optionLabelProp: "title", loading: loading, onFocus: onFocusHandle, onBlur: onBlurHandle, onClear: onClearHandle, onSelect: onSelectHandle, onClick: onClickHandle,
553
553
  // getPopupContainer={(trigger) => trigger || document.body}
554
- open: isOpen }, restProps, { value: restProps.value === undefined || restProps.value === null
555
- ? restProps.value
556
- : (restProps.value + ''), disabled: remoteSearch ? restProps.disabled : loading || restProps.disabled }), renderSelectOption()));
554
+ open: isOpen }, restProps, { disabled: remoteSearch ? restProps.disabled : loading || restProps.disabled }), renderSelectOption()));
557
555
  }
558
556
  export default memo(EnhanceSelect);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",