el-table-column遍历list的方法
数据形式是这样的:
<el-table
:data="cartList"
stripe
style="width: 100%">
<el-table-column label="商品名称" align="center" min-width="100%">
<template slot-scope="scope">
<div v-for="(item, index) in scope.row.param" :key="index">
{{item.name}}
</div>
</template>
</el-table-column>
<el-table-column
prop="payStatus"
label="支付状态"
width="100">
</el-table-column>