浏览代码

Fixed wrong inverted condition

Dustin Utecht 3 年之前
父节点
当前提交
ffb3cf980b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1958,7 +1958,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 = []