Pārlūkot izejas kodu

解决删除任务问题

icssoa 4 gadi atpakaļ
vecāks
revīzija
bcae18c30b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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();
 					});
 				})