Browse Source

REPORT-75752 兼容下旧插件

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

8
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();
} }
return ((JDashboard)template).getElementCaseRectangle((FormElementCase)elementCase); try {
return ((JDashboard)template).getElementCaseRectangle((FormElementCase)elementCase);
} catch (Throwable e) {
// 兼容旧插件
return new Rectangle();
}
} }

Loading…
Cancel
Save