<el-table
:data="tableData[index]"
:span-method="(param)=>objectSpanMethod(param,index)"
border
style="width: 100%; margin-top: 20px">
<el-table-column
prop="name"
label="姓名">
</el-table-column>
<el-table-column
prop="amount1"
label="数值 1(元)">
</el-table-column>
</el-table-column>
</el-table>
elementUI中el-table中span-method 中传递自定义参数
最新推荐文章于 2024-02-06 10:55:21 发布