this.pageSize = list.size(); this.pages = this.pageSize > 0 ? 1 : 0;
每页数量为传入的list的容量。 如果每页数量大于0,则总页数为1?
是这么个理解吗?
登录 后才可以发表评论