https://blog.csdn.net/m0_71645665/article/details/139296035
<div style="height:90%;overflow-y:scroll">
<el-table :data="tableData" style="width: 100%;" row-key="id" border
:default-expand-all ="false" :header-cell-style="{height: '60px'}"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
<!-- <el-table-column type="index" align="center">sortable</el-table-column>-->
<el-table-column prop="dIndex" label="序号" align="center" fixed></el-table-column>
<el-table-column prop="jdName" align="left" header-align="center" label="所属XX" width="180" fixed></el-table-column>
<el-table-column prop="sqName" align="left" header-align="center" label="所属XX" width="180" fixed></el-table-column>
<el-table-column v-for="(item,index) in dicData" :key="index"
:label="item.label" :prop="item.prop" width="150" align="center" header-align="center">
</el-table-column>
</el-table>
</div>
标签:el,表头,element,设置,table,行高
From: https://www.cnblogs.com/linhan8888/p/18302604