行高存在最小值
把 height 和 padding 设置成0px,行高由内容决定(为内容的高)
<el-table
:data="djmxListData"
:row-style="{height:0+'px'}"
:cell-style="{padding:0+'px'}"
style="width: 100%">
</el-table>
默认
更改之后
行高存在最小值
把 height 和 padding 设置成0px,行高由内容决定(为内容的高)
<el-table
:data="djmxListData"
:row-style="{height:0+'px'}"
:cell-style="{padding:0+'px'}"
style="width: 100%">
</el-table>
默认
更改之后