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