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 } // 过滤条件