Browse Source

REPORT-75752 兼容下旧插件

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

Loading…
Cancel
Save