<el-table
class="zktable"
:max-height="zkHeight"
:data="zkData"
border
size="small"
tooltip-effect="light"
>
<el-table-column v-for="(item,index) in tableHider" :key="index" :prop="item.ywzd" :label="item.zwzd" show-overflow-tooltip>
</el-table-column>
<el-table-column label="操作" width="100">
<template slot-scope="scope">
<el-button
@click="edit(scope.row.zkbh, scope.row.gcsy)"
type="text"
size="small"
>详情</el-button
>
</template>
</el-table-column>
</el-table>
动态生成el-table表格表头
最新推荐文章于 2024-06-04 12:00:19 发布