一、如何定义 table 中每一行的 height ?
1.table例子
<div style="overflow: hidden;display: block;height: 68vh;width: 100%;">
<el-table stripe show-header style="width: 100%" :data="tableData">
<el-table-column prop="oilArea" label="采油区" sortable width="auto" />
<el-table-column prop="station" label="站" sortable width="auto" />
<el-table-column prop="well" label="井" sortable width="auto" />
<el-table-column prop="goodsCode" label="物资编码" sortable width="auto" />
<el-table-column prop="goodsName" label="物资名称" sortable width="auto" />
<el-table-column prop="totalNum" label="消耗数量" sortable width="auto" />
</el-table>
</div>
2.解决办法