@yilianjituan/yilian_dgerm 1.0.5-alpha.5 → 1.0.5-alpha.6
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.
|
@@ -169,7 +169,7 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
169
169
|
_columns = _columns.map(function (item) {
|
|
170
170
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
171
171
|
minWidth: item.minWidth || item.title.length * 20 + 20,
|
|
172
|
-
ellipsis: item.ellipsis
|
|
172
|
+
ellipsis: typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
|
|
173
173
|
align: item.align || 'center',
|
|
174
174
|
fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
|
|
175
175
|
});
|
|
@@ -189,7 +189,7 @@ var CustomTable = function CustomTable(props) {
|
|
|
189
189
|
_columns = _columns.map(function (item) {
|
|
190
190
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
191
191
|
minWidth: item.minWidth || item.title.length * 20 + 20,
|
|
192
|
-
ellipsis: item.ellipsis
|
|
192
|
+
ellipsis: typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
|
|
193
193
|
align: item.align || 'center',
|
|
194
194
|
fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
|
|
195
195
|
});
|