From ca38041eecfbeecd1750175e81ed2fd50cac03d1 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 16 Jun 2022 13:48:07 +0800 Subject: [PATCH] BUG 30204 --- packages/publicity/AppJob/components/JobList.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/publicity/AppJob/components/JobList.vue b/packages/publicity/AppJob/components/JobList.vue index 139fb7ee..625fb133 100644 --- a/packages/publicity/AppJob/components/JobList.vue +++ b/packages/publicity/AppJob/components/JobList.vue @@ -95,9 +95,11 @@ }) }, - remove(id) { + remove(ids) { this.$confirm('确定删除该数据?').then(() => { - this.instance.post(`/app/appjob/delete?id=${id}`).then(res => { + this.instance.post(`/app/appjob/delete`,null,{ + params:{ids} + }).then(res => { if (res.code == 0) { this.$message.success('删除成功!') this.getList()