17
社区成员
发帖
与我相关
我的任务
分享computed: {
// 获取表格的高度
getMyTableStyle () {
let height = '124px'
if (!this.ifSHowBar) {
height = '86px'
}
let style = {
display: 'flex',
height: `calc(100% - ${height})`
}
return style
}
}