ztxkui 3.8.3 → 3.8.4
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.
|
@@ -303,6 +303,9 @@ function Table(props) {
|
|
|
303
303
|
var _a;
|
|
304
304
|
// 获取表格元素
|
|
305
305
|
var tableContent = domFind(tableRef.current, '.ant-table-content');
|
|
306
|
+
if (!tableContent) {
|
|
307
|
+
tableContent = domFind(tableRef.current, '.ant-table-container');
|
|
308
|
+
}
|
|
306
309
|
var tableBody = domFind(tableContent, '.ant-table-tbody');
|
|
307
310
|
var tr = tableBody === null || tableBody === void 0 ? void 0 : tableBody.children;
|
|
308
311
|
var arrTr = Array.prototype.slice.call(tr);
|