两行代码:1.给el-table添加唯一值 row-key
2.给多选框列添加字段 reserve-selection
<el-table :row-key="i=>i.id" ...>
<el-table-column :reserve-selection = "true" .../>
</el-table>
两行代码:1.给el-table添加唯一值 row-key
2.给多选框列添加字段 reserve-selection
<el-table :row-key="i=>i.id" ...>
<el-table-column :reserve-selection = "true" .../>
</el-table>