<el-table-column prop="userList" label="負責人">
<template slot-scope="scope">
<span v-for="(u,i) in scope.row.userList">{{u.userName}}  </span>
</template>
</el-table-column>
在表格組件的el-table-column中添加要遍歷的數據,組件通過內部封裝的插槽進行顯示