|
|
|
@ -45,11 +45,9 @@ 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)) { |
|
|
|
|
} else if (isNewJForm(jTemplate)) { |
|
|
|
|
currentType = JFormType.NEW_TYPE; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//UI转换
|
|
|
|
|
currentType.switchUIMode(); |
|
|
|
|
//标志位转换
|
|
|
|
|