提交 37f75bd8 编写于 作者: Mosher's avatar Mosher

update:更新

上级 904422c2
......@@ -58,14 +58,14 @@
const containerWidth = (this.$el as any).offsetWidth;
<#list view.getPSControls() as singleCtrl>
<#if singleCtrl.getControlType() == 'GRIDEXPBAR' && singleCtrl.getWidth()??>
this.split = ${ctrl.getWidth()?c} / containerWidth;
this.split = ${singleCtrl.getWidth()?c} / containerWidth;
</#if>
</#list>
<#else>
const containerHeight = (this.$el as any).offsetHeight;
<#list view.getPSControls() as singleCtrl>
<#if singleCtrl.getControlType() == 'GRIDEXPBAR' && singleCtrl.getHeight()??>
this.split = ${ctrl.getHeight()?c} / containerHeight;
this.split = ${singleCtrl.getHeight()?c} / containerHeight;
</#if>
</#list>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册