解决bootstraptable多次请求只触发一次的问题

在使用bootstrap-table.js中通过设置搜索查询条件,点击按钮触发bootstrap-table,触发以后无法再次触发

function customerSearch() {
$("#gridList").bootstrapTable('destroy');
$('#gridList').bootstrapTable({
url: '@Url.Action("SendSearchHistory","Home")', //url默认走的是get
striped: true,
dataType: 'json',
pagination: true,
pageList: [100],
pageSize: 100,
pageNumber: 1,
language: 'cn',
queryParamsType: "", //
queryParams: queryParams,
sidePagination: 'server', //设置为服务器端分页
columns: [
{
field: 'Brand',
title: "品牌",
117,
}, {
field: 'Name',
title: "客户姓名",
116,
}
]
});
}

原文地址:https://www.cnblogs.com/56982173513871739239lex/p/6308553.html