Skip to content

Commit 5f8aeaa

Browse files
authored
Update tm.pagination.js
当perPageOptions不使用时,应为 conf.perPageOptions = defaultPerPageOptions;
1 parent 00170ff commit 5f8aeaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pagination/tm.pagination.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ angular.module('tm.pagination', []).directive('tmPagination',[function(){
5858

5959
// 分页选项可调整每页显示的条数
6060
if(!conf.perPageOptions){
61-
conf.perPageOptions = defaultPagesLength;
61+
conf.perPageOptions = defaultPerPageOptions;
6262
}
6363

6464
// pageList数组

0 commit comments

Comments
 (0)