ソースを参照

Merge pull request #6573 from wenzhixin/fix/6537

Fixed wrong inverted condition
文翼 3 年 前
コミット
6232a5874f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1975,7 +1975,7 @@ class BootstrapTable {
     if (
       this.options.search &&
       this.options.sidePagination === 'server' &&
-      this.columns.filter(column => !column.searchable).length
+      this.columns.filter(column => column.searchable).length
     ) {
       params.searchable = []