vue中单元格中嵌套表格
数据
sceneData: [{
gateSceneModel: {},
gateUserModelList: [{"user_name":"1"},{"user_name":"2"}],
gateApiAccessModel: {},
gateApiAccessSceneXmodel: {}
}
],
控件
<el-table
:data="sceneData">
<el-table-column prop="gateUserModelList" label="用户信息">
<template slot-scope="scope">
<el-table :data="scope.row.gateUserModelList">
<el-table-column
prop="user_name"
label="用户名">
</el-table-column>
</el-table>
</template>
</el-table-column>
</el-table>