File tree 2 files changed +1
-3
lines changed
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 {
880
880
renderPagination ( ) {
881
881
if ( this . props . pagination ) {
882
882
let dataSize ;
883
- if ( this . isRemoteDataSource ( ) ) {
883
+ if ( this . allowRemote ( Const . REMOTE_PAGE ) ) {
884
884
dataSize = this . props . fetchInfo . dataTotalSize ;
885
885
} else {
886
886
dataSize = this . store . getDataNum ( ) ;
@@ -899,7 +899,6 @@ class BootstrapTable extends Component {
899
899
pageStartIndex = { options . pageStartIndex }
900
900
paginationShowsTotal = { options . paginationShowsTotal }
901
901
paginationSize = { options . paginationSize || Const . PAGINATION_SIZE }
902
- remote = { this . isRemoteDataSource ( ) }
903
902
dataSize = { dataSize }
904
903
onSizePerPageList = { options . onSizePerPageList }
905
904
prePage = { options . prePage || Const . PRE_PAGE }
Original file line number Diff line number Diff line change @@ -215,7 +215,6 @@ PaginationList.propTypes = {
215
215
sizePerPageList : PropTypes . array ,
216
216
paginationShowsTotal : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
217
217
paginationSize : PropTypes . number ,
218
- remote : PropTypes . bool ,
219
218
onSizePerPageList : PropTypes . func ,
220
219
prePage : PropTypes . string ,
221
220
pageStartIndex : PropTypes . number ,
You can’t perform that action at this time.
0 commit comments