elementUI+Table中selection根据返回数据选中 this.$refs.multipleTable.toggleRowSelection
根据上面返回的数据选中下方
this.$nextTick(() => {
this.toplist.forEach((row) => {
this.$refs.multipleTable.toggleRowSelection( this.list.find((item) => {
return row.productId == item.productId;
}),
tr.
原创
2021-05-06 15:47:30 ·
3289 阅读 ·
0 评论