소스 검색

解决删除任务问题

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"
 			})
 				.then(() => {
-					this.$service.task.info.delete({ ids: id }).then(() => {
+					this.$service.task.info.delete({ ids: [id] }).then(() => {
 						this.refreshTask();
 					});
 				})