fantasy-ngzorro 2.2.33 → 2.2.34

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.
package/README.md CHANGED
@@ -32,6 +32,7 @@
32
32
 
33
33
  | 更新人 | 更新时间 | 更新内容 |
34
34
  | ------ | -------- | -------- |
35
+ | — | 2026-10-30 | `hd-table`:`virtualScroll=false` 时 tableData 异步更新也重算 fluid / scroll.x,修复收款编辑等页勾选列被撑开(2.2.34) |
35
36
  | — | 2026-10-30 | `hd-table`:列总宽未超出容器时勾选列锁 40px、差额补到最后业务列(可拖拽);fluid 场景去掉多余横滚与表头高度异常(2.2.33) |
36
37
  | — | 2026-10-29 | `hd-filter`:MultipleSelect / DateRange 空值规范为 `[]`,避免 FormControl 为 null 时不显示 placeholder(筛选组回填场景)(2.2.32) |
37
38
  | — | 2026-10-29 | `hd-status`:补充客户对账明细开票/收款状态色(未开票、未收款为灰;对账中改橙;发票红冲为红)(2.2.31) |
@@ -11275,10 +11275,10 @@
11275
11275
  }
11276
11276
  if (changes["tableData"]) {
11277
11277
  this.pendingResetScrollTop = true;
11278
- if (this.virtualScroll) {
11279
- // 数据刷新不强制重建,只在滚动模式变化时 remount
11280
- this.applyTableScrollMode(false);
11281
- }
11278
+ // 不论是否虚拟滚动都要重算 scroll / fluid。
11279
+ // 收款/付款编辑等页 [virtualScroll]=false + 异步灌数据:原先跳过会导致
11280
+ // 空表初始化后不再补宽,勾选列被均摊撑开。
11281
+ this.applyTableScrollMode(false);
11282
11282
  // 数据更新后复位纵向滚动(含虚拟滚动场景)
11283
11283
  this.scheduleResetTableBodyScrollTop();
11284
11284
  }