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()