From 6c7d884e66ed8fad8a1fb23bb8bfaac939c3fe66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E5=B1=B1=E6=9D=B0?= Date: Fri, 22 Nov 2019 15:32:23 +0800 Subject: [PATCH] bug fix --- backend/routes/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/task.go b/backend/routes/task.go index c84ea210..9c0aa43f 100644 --- a/backend/routes/task.go +++ b/backend/routes/task.go @@ -36,7 +36,7 @@ func GetTaskList(c *gin.Context) { data.PageNum = 1 } if data.PageSize == 0 { - data.PageNum = 10 + data.PageSize = 10 } // 过滤条件