Browse Source

REPORT-48415 【FR-X】模板设置为移动端模板,移动端模板切换新版,关闭再打开模板,又变为老版

persist/11.0
kerry 4 years ago
parent
commit
f65e034e4d
  1. 3
      designer-form/src/main/java/com/fr/design/fit/NewJForm.java

3
designer-form/src/main/java/com/fr/design/fit/NewJForm.java

@ -274,6 +274,9 @@ public class NewJForm extends JForm {
public UIButton[] createExtraButtons() {
UIButton[] extraButtons = super.createExtraButtons();
if (mobileForm()) {
return extraButtons;
}
switchAction = new SwitchAction();
return ArrayUtils.addAll(extraButtons, new UIButton[]{switchAction.getToolBarButton()});
}

Loading…
Cancel
Save