* UIPagination:设置总数在页面不超过总页数的情况下不刷新
This commit is contained in:
parent
79a0cd8bfc
commit
a596268209
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -142,7 +142,8 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
totalCount = Math.Max(0, value);
|
totalCount = Math.Max(0, value);
|
||||||
SetShowButtons();
|
SetShowButtons();
|
||||||
DataBind();
|
if (ActivePage > PageCount)
|
||||||
|
ActivePage = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user