Browse Source

REPORT-75752 兼容下旧插件

release/11.0
WeiYanglu 2 years ago
parent
commit
db53e128aa
  1. 6
      designer-realize/src/main/java/com/fr/design/mainframe/form/FormElementCasePaneDelegate.java

6
designer-realize/src/main/java/com/fr/design/mainframe/form/FormElementCasePaneDelegate.java

@ -76,7 +76,13 @@ public class FormElementCasePaneDelegate extends ElementCasePane<FormElementCase
if (!(template instanceof JDashboard)) { if (!(template instanceof JDashboard)) {
return new Rectangle(); return new Rectangle();
} }
try {
return ((JDashboard)template).getElementCaseRectangle((FormElementCase)elementCase); return ((JDashboard)template).getElementCaseRectangle((FormElementCase)elementCase);
} catch (Throwable e) {
// 兼容旧插件
return new Rectangle();
}
} }

Loading…
Cancel
Save