Browse Source

解决删除任务问题

icssoa 4 năm trước cách đây
mục cha
commit
bcae18c30b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
 					});
 				})