@kdcloudjs/kdesign 1.8.59 → 1.8.60

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.
@@ -202,7 +202,7 @@ var InternalBaseData = function InternalBaseData(props, ref) {
202
202
  if (!isMultiple) return;
203
203
  var inputDom = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input;
204
204
  if (!inputDom) return;
205
- if (inputDom.scrollWidth - inputDom.offsetWidth > 0 && inputValue) {
205
+ if (inputDom.scrollWidth - inputDom.offsetWidth > 2 && inputValue) {
206
206
  setShowTotal(true);
207
207
  } else {
208
208
  setShowTotal(false);
@@ -214,7 +214,7 @@ var InternalBaseData = function InternalBaseData(props, ref) {
214
214
  if (!isMultiple) return;
215
215
  var inputDom = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input;
216
216
  if (!inputDom) return;
217
- if (inputDom.scrollWidth - inputDom.offsetWidth > 0 && inputValue) {
217
+ if (inputDom.scrollWidth - inputDom.offsetWidth > 2 && inputValue) {
218
218
  setShowTotal(true);
219
219
  } else {
220
220
  setShowTotal(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.8.59",
3
+ "version": "1.8.60",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [