1
我正在使用dirPagination分頁表中的數據。我第一次看不到任何數據。我也沒有看到任何錯誤。dirPagination不顯示數據(Angular JS分頁)
見行動我的代碼: plunker
[Plunker][1]http://plnkr.co/edit/3rZoKhnIEnqjUOJNT0iI?p=preview
我正在使用dirPagination分頁表中的數據。我第一次看不到任何數據。我也沒有看到任何錯誤。dirPagination不顯示數據(Angular JS分頁)
見行動我的代碼: plunker
[Plunker][1]http://plnkr.co/edit/3rZoKhnIEnqjUOJNT0iI?p=preview
您需要設置$scope.currentPage = 1;
大。謝謝你。想知道爲什麼即使在更改itemsPerPage後,分頁欄也不會出現:2 – BumbleBee
您錯過了分頁指令的模板:dirPagination.tpl.html。我更新了重拳。 – TomSlick