fantasy-ngzorro 2.2.33 → 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.
- package/README.md +1 -0
- package/bundles/fantasy-ngzorro.umd.js +9 -8
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-table/hd-table.component.js +10 -9
- package/esm5/hd-table/hd-table.component.js +10 -9
- package/fesm2015/fantasy-ngzorro.js +9 -8
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +9 -8
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/package.json +2 -2
package/fesm5/fantasy-ngzorro.js
CHANGED
|
@@ -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
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
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;
|
|
@@ -11071,10 +11072,10 @@ var HdTableComponent = /** @class */ (function () {
|
|
|
11071
11072
|
}
|
|
11072
11073
|
if (changes["tableData"]) {
|
|
11073
11074
|
this.pendingResetScrollTop = true;
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11075
|
+
// 不论是否虚拟滚动都要重算 scroll / fluid。
|
|
11076
|
+
// 收款/付款编辑等页 [virtualScroll]=false + 异步灌数据:原先跳过会导致
|
|
11077
|
+
// 空表初始化后不再补宽,勾选列被均摊撑开。
|
|
11078
|
+
this.applyTableScrollMode(false);
|
|
11078
11079
|
// 数据更新后复位纵向滚动(含虚拟滚动场景)
|
|
11079
11080
|
this.scheduleResetTableBodyScrollTop();
|
|
11080
11081
|
}
|