:row-key="(row)=>{ return row.classId}"
:reserve-selection="true"
- 清空所有选中
this.$refs.multipleTable.clearSelection();//页面中有搜索或重置时可能会用到。
默认选中this.$refs.multipleTable.toggleRowSelection(this.list[index]);//必须传表格的数据;以数组[下标]格式传递
:row-key="(row)=>{ return row.classId}"
:reserve-selection="true"
this.$refs.multipleTable.clearSelection();//页面中有搜索或重置时可能会用到。
默认选中this.$refs.multipleTable.toggleRowSelection(this.list[index]);//必须传表格的数据;以数组[下标]格式传递