Browse Source

Merge pull request #5182 from wenzhixin/fix/search-bug

Fixed search bug
Dustin Utecht 5 years ago
parent
commit
6fdb96c7b6
1 changed files with 1 additions and 1 deletions
  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
       }