File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -880,7 +880,7 @@ class BootstrapTable extends Component {
880880 renderPagination ( ) {
881881 if ( this . props . pagination ) {
882882 let dataSize ;
883- if ( this . isRemoteDataSource ( ) ) {
883+ if ( this . allowRemote ( Const . REMOTE_PAGE ) ) {
884884 dataSize = this . props . fetchInfo . dataTotalSize ;
885885 } else {
886886 dataSize = this . store . getDataNum ( ) ;
@@ -899,7 +899,6 @@ class BootstrapTable extends Component {
899899 pageStartIndex = { options . pageStartIndex }
900900 paginationShowsTotal = { options . paginationShowsTotal }
901901 paginationSize = { options . paginationSize || Const . PAGINATION_SIZE }
902- remote = { this . isRemoteDataSource ( ) }
903902 dataSize = { dataSize }
904903 onSizePerPageList = { options . onSizePerPageList }
905904 prePage = { options . prePage || Const . PRE_PAGE }
Original file line number Diff line number Diff line change @@ -215,7 +215,6 @@ PaginationList.propTypes = {
215215 sizePerPageList : PropTypes . array ,
216216 paginationShowsTotal : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
217217 paginationSize : PropTypes . number ,
218- remote : PropTypes . bool ,
219218 onSizePerPageList : PropTypes . func ,
220219 prePage : PropTypes . string ,
221220 pageStartIndex : PropTypes . number ,
You can’t perform that action at this time.
0 commit comments