@kdcloudjs/table 1.2.0-canary.12 → 1.2.0-canary.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.
@@ -439,7 +439,8 @@ export var BaseTable = /*#__PURE__*/function (_React$Component) {
439
439
  }, /*#__PURE__*/React.createElement("div", {
440
440
  className: cx(Classes.horizontalScrollLeftSpacer),
441
441
  style: {
442
- width: info.leftLockTotalWidth
442
+ width: info.leftLockTotalWidth,
443
+ display: hasStickyScroll && hasScroll ? 'block' : 'none'
443
444
  }
444
445
  }), /*#__PURE__*/React.createElement("div", {
445
446
  className: cx(Classes.stickyScroll),
@@ -452,7 +453,8 @@ export var BaseTable = /*#__PURE__*/function (_React$Component) {
452
453
  })), /*#__PURE__*/React.createElement("div", {
453
454
  className: cx(Classes.horizontalScrollRightSpacer),
454
455
  style: {
455
- width: info.rightLockTotalWidth
456
+ width: info.rightLockTotalWidth,
457
+ display: hasStickyScroll && hasScroll ? 'block' : 'none'
456
458
  }
457
459
  }));
458
460
  }
@@ -88,7 +88,7 @@ export function filter() {
88
88
  var colFilterIcon = (_f = (_e = col.features) === null || _e === void 0 ? void 0 : _e.filterIcon) !== null && _f !== void 0 ? _f : filterIcon;
89
89
 
90
90
  var _Filter = /*#__PURE__*/React.createElement(Filter, {
91
- key: "filter",
91
+ key: "".concat(col.code, "_filter"),
92
92
  FilterPanelContent: filterPanel,
93
93
  filterIcon: colFilterIcon,
94
94
  filterModel: inputFiltersMap.get(col.code),
@@ -488,7 +488,8 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
488
488
  }, /*#__PURE__*/_react.default.createElement("div", {
489
489
  className: (0, _classnames.default)(_styles.Classes.horizontalScrollLeftSpacer),
490
490
  style: {
491
- width: info.leftLockTotalWidth
491
+ width: info.leftLockTotalWidth,
492
+ display: hasStickyScroll && hasScroll ? 'block' : 'none'
492
493
  }
493
494
  }), /*#__PURE__*/_react.default.createElement("div", {
494
495
  className: (0, _classnames.default)(_styles.Classes.stickyScroll),
@@ -501,7 +502,8 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
501
502
  })), /*#__PURE__*/_react.default.createElement("div", {
502
503
  className: (0, _classnames.default)(_styles.Classes.horizontalScrollRightSpacer),
503
504
  style: {
504
- width: info.rightLockTotalWidth
505
+ width: info.rightLockTotalWidth,
506
+ display: hasStickyScroll && hasScroll ? 'block' : 'none'
505
507
  }
506
508
  }));
507
509
  }
@@ -111,7 +111,7 @@ function filter() {
111
111
  var colFilterIcon = (_f = (_e = col.features) === null || _e === void 0 ? void 0 : _e.filterIcon) !== null && _f !== void 0 ? _f : filterIcon;
112
112
 
113
113
  var _Filter = /*#__PURE__*/_react.default.createElement(_filter2.Filter, {
114
- key: "filter",
114
+ key: "".concat(col.code, "_filter"),
115
115
  FilterPanelContent: filterPanel,
116
116
  filterIcon: colFilterIcon,
117
117
  filterModel: inputFiltersMap.get(col.code),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/table",
3
- "version": "1.2.0-canary.12",
3
+ "version": "1.2.0-canary.13",
4
4
  "description": "金蝶 react table 组件",
5
5
  "title": "table",
6
6
  "keywords": [