Browse Source

REPORT-59143 【设计器适配】模版设置为移动端模版也要支持新旧表单切换

persist/11.0
Henry.Wang 3 years ago
parent
commit
26dcb553ce
  1. 6
      designer-form/src/main/java/com/fr/design/fit/common/TemplateTool.java

6
designer-form/src/main/java/com/fr/design/fit/common/TemplateTool.java

@ -45,10 +45,8 @@ public class TemplateTool {
JFormType currentType = JFormType.OLD_TYPE;
if (AdaptiveSwitchUtil.isSwitchJFromIng()) {
currentType = DesignerUIModeConfig.getInstance().newUIMode() ? JFormType.NEW_TYPE : JFormType.OLD_TYPE;
} else {
if (isNewJForm(jTemplate)) {
currentType = JFormType.NEW_TYPE;
}
} else if (isNewJForm(jTemplate)) {
currentType = JFormType.NEW_TYPE;
}
//UI转换
currentType.switchUIMode();

Loading…
Cancel
Save