<table ref="multipleTable" @selection-change="selChange"></table>
selChange(selection) {
this.multipleSelection = selection
if (selection.length > 1) {
selection.forEach((item,index) => {
if (index != selection.length - 1) {
this.$refs.multipleTable.toggleRowSelection(item, false)
}
})
}
},
el-table表格单选
最新推荐文章于 2024-07-30 16:03:10 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)