table组件批量操作
<el-table
:key="tableKey"
:data="list"
v-loading="listLoading"
element-loading-text
fit
highlight-current-row
size="small"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="30"></el-table-column>
handleSelectionChange(val) {
this.multipleSelection = val
},
multipleSelection: [],
this.ids = []
for (const i in this.multipleSelection) {
this.ids.push(this.multipleSelection[i].id)
}