<el-table
:height="`calc(100vh - ${total > 50}} ? 199px : 152px)`"
:data="tableData"
stripe
:row-class-name="tableRowClassName"
empty-text="暂无数据"
>
为什么这样声明table表格高度 不生效
<el-table
:height="`calc(100vh - ${total > 50}} ? 199px : 152px)`"
:data="tableData"
stripe
:row-class-name="tableRowClassName"
empty-text="暂无数据"
>
为什么这样声明table表格高度 不生效
这不是css,不能用calc()