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