From a1ef2d42d320f075c75e8cef52a879114441c103 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期三, 30 十月 2019 15:54:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 controllers/task.go |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/controllers/task.go b/controllers/task.go
index 1bd5e75..dbb8761 100644
--- a/controllers/task.go
+++ b/controllers/task.go
@@ -105,9 +105,11 @@
 				if e==nil && esTaskM !=nil {
 					for _,tM :=range esTaskM {
 						if _,ok := m[tM["taskId"].(string)];!ok {//琛ㄧず姝や换鍔″凡琚垹闄�
+							taskId := tM["taskId"].(string)
+							m[taskId] = taskId
 							tasks = append(tasks, TaskSdkVo{
 								Task:TaskVo{
-									Taskid:	tM["taskId"].(string),
+									Taskid:	taskId,
 									Taskname: tM["taskName"].(string),
 									DelFlag: true,
 								},

--
Gitblit v1.8.0