天天看点

bootstrapTable清空search框内容并刷新页面

let tableNode = $("#tableSelector");
tableNode.bootstrapTable("resetSearch","");
tableNode.bootstrapTable('refresh');
           

参考:

https://github.com/wenzhixin/bootstrap-table/issues/1230

https://stackoverflow.com/questions/53177296/clear-filter-values-in-bootstraptable

继续阅读