From abc05dcd6f9ab2ec826c1109afc135e4722d5c28 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 01 八月 2019 18:26:31 +0800
Subject: [PATCH] fix 4 to 1

---
 controllers/tasklist.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/tasklist.go b/controllers/tasklist.go
index e24848a..c49a822 100644
--- a/controllers/tasklist.go
+++ b/controllers/tasklist.go
@@ -41,7 +41,7 @@
 			source["title"] = key.(string)
 			source["value"] = key.(string)
 			source["key"] = key.(string)
-			sources := append(sources, source)
+			sources = append(sources, source)
 			fmt.Println(key)
 		}
 

--
Gitblit v1.8.0