给table和table-column添加上以下属性即可
<el-table
:row-key="row => row.id"
>
<el-table-column
type="selection"
:reserve-selection="true"
>
</el-table-column>
</el-table>
给table和table-column添加上以下属性即可
<el-table
:row-key="row => row.id"
>
<el-table-column
type="selection"
:reserve-selection="true"
>
</el-table-column>
</el-table>