Browse Source

REPORT-106575 决策报表拖入的图表都报错

newui
Destiny.Lin 1 year ago
parent
commit
5f583b6bed
  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