ソースを参照

use the existing function to trigger search

Dustin Utecht 6 年 前
コミット
d323e201c7

+ 1 - 3
src/extensions/filter-control/bootstrap-table-filter-control.js

@@ -462,9 +462,7 @@ const UtilsFilterControl = {
       }
 
       if (that.options.sidePagination !== 'server') {
-        header.find('[class*=\'bootstrap-table-filter-control\']').each((k, input) => {
-          $(input).trigger('change')
-        })
+        that.triggerSearch()
       }
 
     } else {