Forráskód Böngészése

解决删除任务问题

icssoa 4 éve
szülő
commit
bcae18c30b
1 módosított fájl, 1 hozzáadás és 1 törlés
  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();
 					});
 				})