提交 97d30cdd 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 fa64afac
...@@ -181,6 +181,9 @@ export default class AppScrollContainer extends Vue { ...@@ -181,6 +181,9 @@ export default class AppScrollContainer extends Vue {
if (!boxSizeStyle.height) { if (!boxSizeStyle.height) {
Object.assign(boxSizeStyle, { 'height': '100%' }); Object.assign(boxSizeStyle, { 'height': '100%' });
} }
if (!layoutModel.visible) {
Object.assign(boxSizeStyle, { display: 'none' })
}
return boxSizeStyle; return boxSizeStyle;
} }
} }
......
...@@ -110,7 +110,11 @@ export default class AppSimpleFlexContainer extends Vue { ...@@ -110,7 +110,11 @@ export default class AppSimpleFlexContainer extends Vue {
layoutModel = this.layoutModelDetails[name]; layoutModel = this.layoutModelDetails[name];
} }
if (layoutModel) { if (layoutModel) {
return layoutModel.getBoxLayOutStyle(); const boxSizeStyle: any = layoutModel.getBoxSizeStyle();
if (!layoutModel.visible) {
Object.assign(boxSizeStyle, { display: 'none' })
}
return boxSizeStyle;
} }
} }
......
...@@ -143,7 +143,11 @@ export default class AppStandardContainer extends Vue { ...@@ -143,7 +143,11 @@ export default class AppStandardContainer extends Vue {
layoutModel = this.layoutModelDetails[name]; layoutModel = this.layoutModelDetails[name];
} }
if (layoutModel) { if (layoutModel) {
return layoutModel.getBoxLayOutStyle(); const boxSizeStyle: any = layoutModel.getBoxSizeStyle();
if (!layoutModel.visible) {
Object.assign(boxSizeStyle, { display: 'none' })
}
return boxSizeStyle;
} }
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册