diff --git a/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java b/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java index 66791c34b2..161e8d190a 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java +++ b/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java @@ -549,6 +549,7 @@ public class ReplaceUtils { if (widget instanceof TreeEditor) { Object config = ((TreeEditor) widget).getBuildModelConfig(); replaceTreeConfig(config, entities); + ((TreeEditor) widget).setBuildModelConfig(config); } if (db.getDictionary() instanceof TableDataDictionary) { TableDataDictionary tdd = (TableDataDictionary) db.getDictionary();