<el-table
v-show="res"
border
ref="multipleTable"
:data="projectList"
tooltip-effect="dark"
style="width: 100%"
@selection-change="handleSelectionChange"
@row-click="clickRow"
>
// 点击整行选中
clickRow(row){
this.$refs.multipleTable.toggleRowSelection(row)
console.log("切换整行状态");
}
网友评论