atr-components 3.0.28 → 3.0.29

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.
@@ -3155,7 +3155,10 @@ class AtrTableComponent {
3155
3155
  console.log("initWidth 改变后", this.scrollSize, this.tableWidth);
3156
3156
  setTimeout(() => {
3157
3157
  const tableWrapper = document.querySelector('.table-content .ant-table-title');
3158
- this.scrollSize.y = (this.tableHeight > 0 ? (this.tableHeight - tableWrapper.clientHeight - 120) : 200) + "px";
3158
+ if (this.showPagination)
3159
+ this.scrollSize.y = (this.tableHeight > 0 ? (this.tableHeight - tableWrapper.clientHeight - 120) : 200) + "px";
3160
+ else
3161
+ this.scrollSize.y = (this.tableHeight > 0 ? (this.tableHeight - tableWrapper.clientHeight) : 200) + "px";
3159
3162
  this.viewInitOver = true;
3160
3163
  }, 500);
3161
3164
  }