Browse Source

Pull request #12889: REPORT-106575 决策报表拖入的图表都报错

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

* commit '5f583b6bedb0831122e87bb7721e1a67f8651a51':
  REPORT-106575 决策报表拖入的图表都报错
newui
parent
commit
0974c36d55
  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