|
|
@@ -434,12 +434,10 @@
|
|
|
|
|
|
//删除弹框确定
|
|
|
commitBtn() {
|
|
|
- const dataId = this.selection.map((v) => v.id)?.join(',');
|
|
|
+ const dataId = this.selection.map((v) => v.id);
|
|
|
console.log('dataId', dataId)
|
|
|
// this.remove(dataId);
|
|
|
- deleteBatch({
|
|
|
- ids: dataId
|
|
|
- }).then((res) => {
|
|
|
+ deleteBatch(dataId).then((res) => {
|
|
|
this.$message.success('删除成功!');
|
|
|
this.reload();
|
|
|
});
|