实现在数组内多个删除
for (let i = 0; i < this.tableData.length; i++) {
this.multipleSelection.forEach((row, index) => {
if (this.tableData[i].orderLevel === row.orderLevel) {
if (row.packId && row.stageId) {
const data = {
packId: row.packId,
stageId: row.stageId
}
this.delete.push(data)
}
this.tableData.splice(i, 1)
this.multipleSelection.splice(index, 1)
i--
}
})
}