AngularJS分页 - 错页数

时间:2016-02-23 19:07:43

标签: angularjs pagination

看看

plnkr.co/edit/fSLqieqjECEaF99mduub?p=preview

1 个答案:

答案 0 :(得分:3)

如果您希望页面大小为500,则需要添加items-per-page="500"

<uib-pagination 
        total-items="bigTotalItems" 
        ng-model="bigCurrentPage" 
        max-size="maxSize"
        num-pages="noOfPages" 
        items-per-page="500"
        class="pagination-sm" 
        boundary-link-numbers="true"></uib-pagination>

plunker