@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.
- package/dist/kdesign.css +1 -1
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +3 -2
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +1 -1
- package/dist/kdesign.min.js +2 -2
- package/dist/kdesign.min.js.map +1 -1
- package/es/base-data/base-data.js +1 -1
- package/lib/base-data/base-data.js +1 -1
- package/package.json +1 -1
package/dist/kdesign.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/kdesign v1.8.
|
|
3
|
+
* @kdcloudjs/kdesign v1.8.60
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -4809,7 +4809,8 @@ var InternalBaseData = function InternalBaseData(props, ref) {
|
|
|
4809
4809
|
if (!isMultiple) return;
|
|
4810
4810
|
var inputDom = (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.input;
|
|
4811
4811
|
if (!inputDom) return;
|
|
4812
|
-
if (inputDom.scrollWidth - inputDom.offsetWidth >
|
|
4812
|
+
if (inputDom.scrollWidth - inputDom.offsetWidth > 2 && inputValue) {
|
|
4813
|
+
// 判断文字是否超出输入框 增加安全距离
|
|
4813
4814
|
setShowTotal(true);
|
|
4814
4815
|
} else {
|
|
4815
4816
|
setShowTotal(false);
|