@kdcloudjs/kdesign 1.5.2 → 1.5.3

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/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.5.1
3
+ * @kdcloudjs/kdesign v1.5.2
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -19736,13 +19736,13 @@ var ClearableInput = function ClearableInput(props) {
19736
19736
  };
19737
19737
 
19738
19738
  var renderSuffix = function renderSuffix() {
19739
- if (!suffix && !allowClear) {
19740
- return null;
19739
+ if (suffix || !disabled && allowClear) {
19740
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span", {
19741
+ className: "".concat(prefixCls, "-suffix")
19742
+ }, renderClearIcon(), suffix);
19741
19743
  }
19742
19744
 
19743
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span", {
19744
- className: "".concat(prefixCls, "-suffix")
19745
- }, !disabled && renderClearIcon(), suffix);
19745
+ return null;
19746
19746
  };
19747
19747
 
19748
19748
  var renderInputWithFixNode = function renderInputWithFixNode(originElement) {