Explorar o código

解决删除任务问题

icssoa %!s(int64=4) %!d(string=hai) anos
pai
achega
bcae18c30b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 					});
 				})