@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.
@@ -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 parent;
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', ''))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.24-beta-4",
3
+ "version": "1.1.24-beta-6",
4
4
  "description": "修复table双滚动条问题;",
5
5
  "license": "MIT",
6
6
  "author": {