From 1e89d5c86f7a26414f0ca4820f8c55981aaf890f Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 02 八月 2019 10:48:12 +0800
Subject: [PATCH] fix router

---
 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