<el-table :data="tableData">
<el-table-column label="机场" width="140">
// 使用插槽,将将数据进行传递
<template v-slot="scope">
//获取数据即可
{{ scope.row.name }}/{{ scope.row.iphoneNum }}
</template>
</el-table-column>
</el-table>
el-table中一列显示两个数据
最新推荐文章于 2024-05-10 09:26:14 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)