@yibozhang/pro-table 16.0.7 → 16.0.8
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.
|
@@ -897,18 +897,6 @@ class ProTableComponent {
|
|
|
897
897
|
});
|
|
898
898
|
seen.add(field);
|
|
899
899
|
});
|
|
900
|
-
// 2) 新增字段(远程不存在)追加到末尾,默认显示用 initColumns 的 isShow
|
|
901
|
-
initColumns.forEach((ic) => {
|
|
902
|
-
if (seen.has(ic.field))
|
|
903
|
-
return;
|
|
904
|
-
merged.push({
|
|
905
|
-
field: ic.field,
|
|
906
|
-
isShow: ic.isShow,
|
|
907
|
-
header: ic.header,
|
|
908
|
-
sortName: ic.sortName ?? null,
|
|
909
|
-
});
|
|
910
|
-
seen.add(ic.field);
|
|
911
|
-
});
|
|
912
900
|
return merged;
|
|
913
901
|
}
|
|
914
902
|
async queryDynamicColumns() {
|