imm-element-ui 3.0.1 → 3.0.2
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.
|
@@ -12622,7 +12622,11 @@ class PageFormComponent extends AmComponent {
|
|
|
12622
12622
|
item.editable = true;
|
|
12623
12623
|
}
|
|
12624
12624
|
});
|
|
12625
|
-
|
|
12625
|
+
const grid = this.customGrid?.get(index);
|
|
12626
|
+
if (typeof grid?.refreshColumnDefs === 'function') {
|
|
12627
|
+
// 统一处理列配置,保留 hideExpression 和编辑器转换结果,避免原始列覆盖运行时状态。
|
|
12628
|
+
void grid.refreshColumnDefs(v.gridOptions);
|
|
12629
|
+
}
|
|
12626
12630
|
}
|
|
12627
12631
|
else if (v.type == 'form') {
|
|
12628
12632
|
v.fields?.forEach((item) => {
|