antd-management-fast-framework 1.1.52 → 1.1.53
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.
|
@@ -950,13 +950,6 @@ function buildCustomGrid(_ref7) {
|
|
|
950
950
|
|
|
951
951
|
var v = itemValue || itemEmptyValue || globalEmptyValue;
|
|
952
952
|
var isEmpty = (itemValue || itemEmptyValue || globalEmptyValue) == (itemEmptyValue || globalEmptyValue);
|
|
953
|
-
console.log({
|
|
954
|
-
itemValue: itemValue,
|
|
955
|
-
itemEmptyValue: itemEmptyValue,
|
|
956
|
-
globalEmptyValue: globalEmptyValue,
|
|
957
|
-
v: itemValue || itemEmptyValue || globalEmptyValue,
|
|
958
|
-
isEmpty: (itemValue || itemEmptyValue || globalEmptyValue) == (itemEmptyValue || globalEmptyValue)
|
|
959
|
-
});
|
|
960
953
|
return /*#__PURE__*/_react["default"].createElement(_col["default"], _extends({
|
|
961
954
|
key: itemKey,
|
|
962
955
|
style: itemStyle,
|
package/lib/utils/tools.d.ts
CHANGED
|
@@ -683,6 +683,9 @@ export function removeNearestLocalhostNotifyCache(): void;
|
|
|
683
683
|
export function trySendNearestLocalhostNotify({ text }: {
|
|
684
684
|
text: any;
|
|
685
685
|
}): void;
|
|
686
|
+
/**
|
|
687
|
+
* 文本缩略
|
|
688
|
+
*/
|
|
686
689
|
export function ellipsis(value: any, length: any): string;
|
|
687
690
|
export function notifySuccess(text: any): void;
|
|
688
691
|
/**
|
package/lib/utils/tools.js
CHANGED
package/package.json
CHANGED
|
@@ -837,16 +837,6 @@ export function buildCustomGrid({ key = null, list, props }) {
|
|
|
837
837
|
(itemValue || itemEmptyValue || globalEmptyValue) ==
|
|
838
838
|
(itemEmptyValue || globalEmptyValue);
|
|
839
839
|
|
|
840
|
-
console.log({
|
|
841
|
-
itemValue,
|
|
842
|
-
itemEmptyValue,
|
|
843
|
-
globalEmptyValue,
|
|
844
|
-
v: itemValue || itemEmptyValue || globalEmptyValue,
|
|
845
|
-
isEmpty:
|
|
846
|
-
(itemValue || itemEmptyValue || globalEmptyValue) ==
|
|
847
|
-
(itemEmptyValue || globalEmptyValue),
|
|
848
|
-
});
|
|
849
|
-
|
|
850
840
|
return (
|
|
851
841
|
<Col
|
|
852
842
|
key={itemKey}
|
package/src/utils/tools.js
CHANGED
|
@@ -1738,6 +1738,9 @@ export function trySendNearestLocalhostNotify({ text }) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
|
|
1741
|
+
/**
|
|
1742
|
+
* 文本缩略
|
|
1743
|
+
*/
|
|
1741
1744
|
export function ellipsis(value, length) {
|
|
1742
1745
|
if (value && value.length > length) {
|
|
1743
1746
|
return `${toString(value).substr(0, length)}...`;
|