elementui table_设置表格表头高度和每一行的高度
<el-table:data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"style="width: 100%":header-cell-style="{textAlign: 'center',height: '40px',}"
·
<el-table
:data="
tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)
"
style="width: 100%"
:header-cell-style="{
textAlign: 'center',
height: '40px',
}"
:row-style="{height: '60px'}"
stripe
>
<el-table-column label="ID" align="center" prop="id" width="50"></el-table-column>
</el-table>
更多推荐
已为社区贡献1条内容
所有评论(0)