Browse Source

REPORT-12974 pc端》参数、表单界面》扫码优化》移动端属性没有设置扫码选项

final/10.0
Hades 6 years ago
parent
commit
67e4444afc
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/WidgetPropertyPane.java

2
designer-form/src/main/java/com/fr/design/mainframe/WidgetPropertyPane.java

@ -175,7 +175,7 @@ public class WidgetPropertyPane extends FormDockView implements BaseWidgetProper
WidgetPropertyUIProvider[] embeddedPropertyUIProviders = null; WidgetPropertyUIProvider[] embeddedPropertyUIProviders = null;
if (selection != null && selection.getSelectedCreator() != null) { if (selection != null && selection.getSelectedCreator() != null) {
XCreator xCreator = selection.getSelectedCreator(); XCreator xCreator = selection.getSelectedCreator();
embeddedPropertyUIProviders = selection.getSelectedCreator().getWidgetPropertyUIProviders(); embeddedPropertyUIProviders = xCreator.getWidgetPropertyUIProviders();
if (xCreator instanceof XWScaleLayout if (xCreator instanceof XWScaleLayout
&& ComparatorUtils.equals(((XWScaleLayout) xCreator).getXCreatorCount(), 1) && ComparatorUtils.equals(((XWScaleLayout) xCreator).getXCreatorCount(), 1)
&& ((XWScaleLayout) xCreator).getXCreator(0) instanceof XTextEditor) { && ((XWScaleLayout) xCreator).getXCreator(0) instanceof XTextEditor) {

Loading…
Cancel
Save