@kdcloudjs/table 1.1.6-canary.1 → 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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/table v1.1.5-canary.10
3
+ * @kdcloudjs/table v1.1.6-canary.2
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/table v1.1.5-canary.10
3
+ * @kdcloudjs/table v1.1.6-canary.2
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -3879,13 +3879,13 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
3879
3879
  last: footerDataSource.length - 1,
3880
3880
  limit: Infinity
3881
3881
  }
3882
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div", {
3882
+ }), footerDataSource.length > 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div", {
3883
3883
  className: _styles__WEBPACK_IMPORTED_MODULE_38__["Classes"].verticalScrollPlaceholder,
3884
3884
  style: this.hasScrollY ? {
3885
3885
  width: this.getScrollBarWidth(),
3886
3886
  visibility: 'initial'
3887
3887
  } : undefined
3888
- }));
3888
+ }) : null);
3889
3889
  }
3890
3890
  }, {
3891
3891
  key: "renderLockShadows",
@@ -5097,7 +5097,7 @@ function getColumnWidthSum(pipeline) {
5097
5097
 
5098
5098
  if (Object(_utils__WEBPACK_IMPORTED_MODULE_14__["isLeafNode"])(col) && code !== FILL_COLUMN_CODE) {
5099
5099
  var resizeColumn = pipeline.getFeatureOptions(_columnResizeWidth__WEBPACK_IMPORTED_MODULE_16__["COLUMN_SIZE_KEY"]);
5100
- return acc + (resizeColumn && resizeColumn[code]) || width;
5100
+ return acc + (resizeColumn && resizeColumn[code] || width);
5101
5101
  } else {
5102
5102
  return acc + dfs(col.children);
5103
5103
  }