<el-table
:data="tableData"
stripe
style="width: 100%"
:row-class-name="rowClassName"
ref="tb"
>
<el-table-column
v-for="(item, index) in tableTitle"
:key="index"
:label="item.label"
align="center"
width="200"
>
<template slot-scope="scope">
{{scope.row[item.dict?item.prop+item.dict:item.prop]}}
</template>
</el-table-column>
</el-table>
el-table,table动态展示内容
最新推荐文章于 2023-04-23 11:30:23 发布