|
|
@ -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(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|