vue element UI el-table 表格行高样式调整
程序员文章站
2022-06-07 22:09:52
...
<el-table :data="tableData" ref="recordTable" border style="width: 100%; " :cell-style="{padding:'6px 0px'}"
:row-style="{height:'45px'}" :header-cell-style="{'text-align':'center','background-color': 'white'}">
........
.....
</el-table>
:cell-style="{padding:'6px 0px'}" //单元格内边距
:row-style="{height:'45px'}" //行高
上一篇: 巧妙实现表格奇偶行换色
下一篇: 如何识别精密贴片电阻的阻值