// 给表格添加ref属性
// 例如ref="multipleTable1"
给表格插入选项
this.$nextTick(() => {
this.$refs.multipleTable1.toggleRowSelection(itm, true)
})
清空表格选项
this.$nextTick(() => {
for(var i=0;i<this.$refs.multipleTable1.length;i++){
this.$refs.multipleTable1[i].clearSelection();
}
})
原文:https://www.cnblogs.com/hekeying/p/14770383.html