BootStrap background pagination, search condition failure Solution

1. When the back page, the search is not the result of some number of the current page, thus resulting in less than a query, display a blank solution is, when you click Search to put the number of pages to 1

 //解决服务器分页,在其他页面无法查询的bug
    $('#SdbB2cOrdersTable').bootstrapTable('refreshOptions',{pageNumber:1});

 

Guess you like

Origin blog.csdn.net/LuckFairyLuckBaby/article/details/91870364