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