Browse Source

Merge pull request #12896 in DESIGN/design from release/11.0 to bugfix/11.0

* commit '0974c36d55cb2a7965ee3c32c3c4486b82b7248c':
  REPORT-106575 决策报表拖入的图表都报错
bugfix/11.0
superman 1 year ago
parent
commit
d2c9f45339
  1. 3
      designer-form/src/main/java/com/fr/design/designer/creator/XCreatorUtils.java

3
designer-form/src/main/java/com/fr/design/designer/creator/XCreatorUtils.java

@ -33,6 +33,7 @@ import com.fr.form.ui.AbstractBorderStyleWidget;
import com.fr.form.ui.Button; import com.fr.form.ui.Button;
import com.fr.form.ui.CardAddButton; import com.fr.form.ui.CardAddButton;
import com.fr.form.ui.CardSwitchButton; import com.fr.form.ui.CardSwitchButton;
import com.fr.form.ui.ChartEditor;
import com.fr.form.ui.CheckBox; import com.fr.form.ui.CheckBox;
import com.fr.form.ui.CheckBoxGroup; import com.fr.form.ui.CheckBoxGroup;
import com.fr.form.ui.ComboBox; import com.fr.form.ui.ComboBox;
@ -201,6 +202,8 @@ public class XCreatorUtils {
private static void putExtraEditor() { private static void putExtraEditor() {
if (DesignModuleFactory.getChartEditorClass() != null) { if (DesignModuleFactory.getChartEditorClass() != null) {
objectMap.put(DesignModuleFactory.getChartEditorClass(), XChartEditor.class); objectMap.put(DesignModuleFactory.getChartEditorClass(), XChartEditor.class);
} else {
objectMap.put(ChartEditor.class, XChartEditor.class);
} }
} }

Loading…
Cancel
Save