浏览代码

Fixed search bug

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

+ 1 - 1
src/bootstrap-table.js

@@ -805,7 +805,7 @@ class BootstrapTable {
         $(currentTarget).val(text)
       }
 
-      if (this.searchText === text && text.length > 0) {
+      if (this.searchText === text) {
         return
       }