由于这条线,我需要使用高版本的ui-bootstrap-tpls.js。但是,我意识到这个禁用的bootstrap pagination,它可以使用较低版本的ui-bootstrap-tpls.js。
例如,这个分页工作和https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.11.0/ui-bootstrap-tpls.js,而https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/2.5.0/ui-bootstrap-tpls.js 不工作。
有人知道我能做什么吗?
发布于 2017-04-26 05:21:25
使用以下方法尝试这个扑通:
<ul uib-pagination total-items="totalItems" ng-model="currentPage" items-per-page="itemsPerPage" ng-change="pageChanged()"></ul>而不是:
<pagination total-items="totalItems" items-per-page="itemsPerPage" ng-model="currentPage" ng-change="pageChanged()"></pagination>https://stackoverflow.com/questions/43625546
复制相似问题