https://element.eleme.cn/#/zh-CN/component/table
在Table Methods里面有个方法:
// 反选
reverseSelect() {
this.subTableData.forEach(row => {
this.$refs.multipleTable.toggleRowSelection(row);
})
}
https://element.eleme.cn/#/zh-CN/component/table
// 反选
reverseSelect() {
this.subTableData.forEach(row => {
this.$refs.multipleTable.toggleRowSelection(row);
})
}