Browse Source

Pull request #15469: REPORT-140743 【数据集替换】下拉树和视图树的数据集替换后,实际并未生效

Merge in DESIGN/design from ~DESTINY.LIN/design:release/11.0 to release/11.0

* commit '8244a4a03032d5040bcc5f2186321d2071800e75':
  REPORT-140743 【数据集替换】下拉树和视图树的数据集替换后,实际并未生效
release/11.0
parent
commit
1fd3e7713a
  1. 1
      designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java

1
designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java

@ -549,6 +549,7 @@ public class ReplaceUtils {
if (widget instanceof TreeEditor) { if (widget instanceof TreeEditor) {
Object config = ((TreeEditor) widget).getBuildModelConfig(); Object config = ((TreeEditor) widget).getBuildModelConfig();
replaceTreeConfig(config, entities); replaceTreeConfig(config, entities);
((TreeEditor) widget).setBuildModelConfig(config);
} }
if (db.getDictionary() instanceof TableDataDictionary) { if (db.getDictionary() instanceof TableDataDictionary) {
TableDataDictionary tdd = (TableDataDictionary) db.getDictionary(); TableDataDictionary tdd = (TableDataDictionary) db.getDictionary();

Loading…
Cancel
Save