Browse Source

REPORT-56679 新自适应2月份合入主 jar后在插件中修复的 bug 同步到 FR11

persist/11.0
Henry.Wang 3 years ago
parent
commit
2836fd2074
  1. 7
      designer-form/src/main/java/com/fr/design/fit/common/AdaptiveSwitchUtil.java

7
designer-form/src/main/java/com/fr/design/fit/common/AdaptiveSwitchUtil.java

@ -173,13 +173,6 @@ public class AdaptiveSwitchUtil {
TemplateTool.saveForm(old);
}
if (old.getTarget() instanceof Form) {
Form form = (Form) old.getTarget();
try {
NewFormMarkAttr newFormMarkAttr = form.getAttrMark(NewFormMarkAttr.XML_TAG);
}catch (Exception e){
//插件启用的时候走到这里
return JTemplateFactory.createJTemplate(old.getEditingFILE());
}
try {
return new NewJForm((Form) (old.getTarget()).clone(), old.getEditingFILE());
} catch (Exception e) {

Loading…
Cancel
Save