From 9adb92b47e492dff013f74399a02f78aca6e7d94 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期四, 13 八月 2020 13:46:29 +0800 Subject: [PATCH] update esutil --- controllers/cameraTask.go | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/controllers/cameraTask.go b/controllers/cameraTask.go index cb9fd0e..4389f11 100644 --- a/controllers/cameraTask.go +++ b/controllers/cameraTask.go @@ -145,11 +145,13 @@ if _,ok := m[tM["taskId"].(string)];!ok {//琛ㄧず姝や换鍔″凡琚垹闄� taskId := tM["taskId"].(string) taskName := tM["taskName"].(string) - result = append(result, SceneIfDelResult{ - Id: taskId, - Name: taskName, - IsDelete: true, - }) + if taskId != "" { + result = append(result, SceneIfDelResult{ + Id: taskId, + Name: taskName, + IsDelete: true, + }) + } } } } -- Gitblit v1.8.0