|
|
|
@ -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(); |
|
|
|
|