reserve-selection: 仅对 type=selection 的列有效,类型为 Boolean,为 true 则会在数据更新之后保留之前选中的数据(需指定 row-key)
<el-table ref="table" :data="DataList" :row-key="rowKey">
<el-table-column type="selection" align="center" :reserve-selection="true" />
</el-table>
rowKey (row) {
return row.id;
}