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