fantasy-ngzorro 2.2.34 → 2.2.35

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.
@@ -9425,10 +9425,11 @@ class HdTableComponent {
9425
9425
  changes["tableData"]["currentValue"]["pageNumber"] !==
9426
9426
  changes["tableData"]["previousValue"]["pageNumber"]) {
9427
9427
  this.pendingResetScrollTop = true;
9428
- if (this.virtualScroll) {
9429
- // 仅虚拟/普通模式真正切换时重建,避免排序后数据刷新把排序态清掉
9430
- this.applyTableScrollMode(false);
9431
- }
9428
+ // pageSize/pageNumber 变化也要重算 scroll / fluid。
9429
+ // 业务常把 Page.pageSize 写成 content.length(如收款编辑 toPage),
9430
+ // virtualScroll=false 时若这里跳过,空表初始化后的 fluid 不会补上,勾选列被撑开。
9431
+ // applyTableScrollMode(false) 在模式未变时只 dealScroll,不会强制重建清排序态。
9432
+ this.applyTableScrollMode(false);
9432
9433
  // 翻页/改 pageSize:主动多次复位,覆盖 CDK 异步渲染时序
9433
9434
  this.scheduleResetTableBodyScrollTop();
9434
9435
  return;