浏览代码

Update bootstrap-table.js

After press Clear Filter button and clear filter input, the table view is not updated.
With this patch, the table view is update correctly after clearing filter.
manukieli 6 年之前
父节点
当前提交
e21ca4d694
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

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