@kdcloudjs/table 1.1.6-canary.2 → 1.1.6-canary.3

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.
@@ -394,13 +394,13 @@ export var BaseTable = /*#__PURE__*/function (_React$Component) {
394
394
  last: footerDataSource.length - 1,
395
395
  limit: Infinity
396
396
  }
397
- }), /*#__PURE__*/React.createElement("div", {
397
+ }), footerDataSource.length > 0 ? /*#__PURE__*/React.createElement("div", {
398
398
  className: Classes.verticalScrollPlaceholder,
399
399
  style: this.hasScrollY ? {
400
400
  width: this.getScrollBarWidth(),
401
401
  visibility: 'initial'
402
402
  } : undefined
403
- }));
403
+ }) : null);
404
404
  }
405
405
  }, {
406
406
  key: "renderLockShadows",
@@ -443,13 +443,13 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
443
443
  last: footerDataSource.length - 1,
444
444
  limit: Infinity
445
445
  }
446
- }), /*#__PURE__*/_react.default.createElement("div", {
446
+ }), footerDataSource.length > 0 ? /*#__PURE__*/_react.default.createElement("div", {
447
447
  className: _styles.Classes.verticalScrollPlaceholder,
448
448
  style: this.hasScrollY ? {
449
449
  width: this.getScrollBarWidth(),
450
450
  visibility: 'initial'
451
451
  } : undefined
452
- }));
452
+ }) : null);
453
453
  }
454
454
  }, {
455
455
  key: "renderLockShadows",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/table",
3
- "version": "1.1.6-canary.2",
3
+ "version": "1.1.6-canary.3",
4
4
  "description": "金蝶 react table 组件",
5
5
  "title": "table",
6
6
  "keywords": [