table选中某条数据删除功能
deleteData() {
if (!this.selection.length) this.$Message.warning("请选择要删除的行!");
let _arr = [];
this.tableData.forEach((ele, index) => {
if (this.selection.indexOf(index) < 0) _arr.push(ele);
});
this.tableData = _arr;
this.selection = [];
}