Skip to content

Commit 13c7923

Browse files
authored
修复 BUG,TotalPages 改为 TotalCount
#2
1 parent 4b4fac2 commit 13c7923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Routine/Routine.APi/Helpers/PagedList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class PagedList<T> : List<T>
4444

4545
public PagedList(List<T> items,int count,int pageNumber,int pageSize)
4646
{
47-
TotalPages = count;
47+
TotalCount = count;
4848
PageSize = pageSize;
4949
CurrentPage = pageNumber;
5050
TotalPages = (int)Math.Ceiling(count / (double)pageSize);

0 commit comments

Comments
 (0)