浏览代码

解决删除任务问题

icssoa 4 年之前
父节点
当前提交
bcae18c30b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cool/modules/task/views/task.vue

+ 1 - 1
cool/modules/task/views/task.vue

@@ -607,7 +607,7 @@ export default {
 				type: "warning"
 				type: "warning"
 			})
 			})
 				.then(() => {
 				.then(() => {
-					this.$service.task.info.delete({ ids: id }).then(() => {
+					this.$service.task.info.delete({ ids: [id] }).then(() => {
 						this.refreshTask();
 						this.refreshTask();
 					});
 					});
 				})
 				})