@ccs-ui/rc-pro 1.1.24-beta-12 → 1.1.24-beta-13
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/es/ccs.d.ts +1 -1
- package/es/pro-table/table.js +9 -0
- package/package.json +1 -1
package/es/ccs.d.ts
CHANGED
package/es/pro-table/table.js
CHANGED
|
@@ -63,6 +63,14 @@ var onTableInTabItem = function onTableInTabItem(node) {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
+
|
|
67
|
+
// if (
|
|
68
|
+
// // 通过指定dom吸顶
|
|
69
|
+
// parent.classList?.contains('ccs-single-page')
|
|
70
|
+
// ) {
|
|
71
|
+
// return { getContainer: () => node };
|
|
72
|
+
// }
|
|
73
|
+
|
|
66
74
|
return onTableInTabItem(parent);
|
|
67
75
|
};
|
|
68
76
|
|
|
@@ -322,6 +330,7 @@ var InternalProTable = function InternalProTable(props) {
|
|
|
322
330
|
|
|
323
331
|
// 判断在tab中
|
|
324
332
|
var inTab = onTableInTabItem(tableRef.current);
|
|
333
|
+
console.log('inTab', inTab);
|
|
325
334
|
if (inTab) {
|
|
326
335
|
stickyRef.current = inTab;
|
|
327
336
|
return;
|