@ccs-ui/rc-pro 1.1.24-beta-4 → 1.1.24-beta-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.
- package/es/pro-table/table.js +2 -1
- package/package.json +1 -1
package/es/pro-table/table.js
CHANGED
|
@@ -56,7 +56,7 @@ var onTableInTabItem = function onTableInTabItem(node) {
|
|
|
56
56
|
(_parent$classList6 = parent.classList) !== null && _parent$classList6 !== void 0 && _parent$classList6.contains('ccs-table-item-scroll')) {
|
|
57
57
|
return {
|
|
58
58
|
getContainer: function getContainer() {
|
|
59
|
-
return
|
|
59
|
+
return node;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
}
|
|
@@ -460,6 +460,7 @@ var InternalProTable = function InternalProTable(props) {
|
|
|
460
460
|
var dom = stickyRef.current.getContainer();
|
|
461
461
|
var _window$getComputedSt = window.getComputedStyle(dom),
|
|
462
462
|
paddingTop = _window$getComputedSt.paddingTop;
|
|
463
|
+
console.log('dom', dom);
|
|
463
464
|
if (paddingTop) {
|
|
464
465
|
stickyRef.current = _objectSpread(_objectSpread({}, stickyRef.current), {}, {
|
|
465
466
|
offsetHeader: -parseInt(paddingTop.replace('px', ''))
|