ソースを参照

Fix multiple search bug

zhixin 6 年 前
コミット
62dfe6a352
1 ファイル変更4 行追加0 行削除
  1. 4 0
      src/bootstrap-table.js

+ 4 - 0
src/bootstrap-table.js

@@ -681,6 +681,10 @@ class BootstrapTable {
         $(currentTarget).val(text)
       }
 
+      if (this.searchText === text) {
+        return
+      }
+
       this.searchText = text
       this.options.searchText = text
     }