* UIPagination:设置总数在页面不超过总页数的情况下不刷新

This commit is contained in:
Sunny 2021-07-04 10:54:59 +08:00
parent 79a0cd8bfc
commit a596268209
6 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -142,7 +142,8 @@ namespace Sunny.UI
{
totalCount = Math.Max(0, value);
SetShowButtons();
DataBind();
if (ActivePage > PageCount)
ActivePage = 1;
}
}