<el-table @selection-change="handleSelectCodeForTicket" :data="tableData" :height="tableHeight" >
<el-table-column
type="selection"
width="50">
</el-table-column>
</el-table>
Selection: [],
methods: {
// 选择
handleSelectCodeForTicket (val) {
console.log(val)
this.Selection = []
val.forEach(v => {
this.Selection.push(v.code)
})
}
}