Browse Source

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

release/11.0
Destiny.Lin 1 month ago
parent
commit
a0fa7a079d
  1. 2
      designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java

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

@ -560,7 +560,7 @@ public class ReplaceUtils {
}
if (widget instanceof DataControl) {
ValueInitializer value = ((DataControl) widget).getWidgetValue();
if (value.getValue() instanceof DataBinding) {
if (value != null && value.getValue() instanceof DataBinding) {
DataBinding binding = (DataBinding) value.getValue();
for (TableReplacementEntity entity : entities) {
if (StringUtils.equals(entity.getOldName(), binding.getDataSourceName())) {

Loading…
Cancel
Save