add Pagination size default value

This commit is contained in:
易磊 2024-05-30 16:49:55 +08:00 committed by GitHub
parent 1578ba00ea
commit f3bdc73a4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ public class Pagination
{
get
{
return _size;
return _size > 0 ? _size : 1;
}
set
{