浏览代码

Fix control remove logic

djhvscf 4 年之前
父节点
当前提交
553789c3da
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/extensions/filter-control/utils.js

+ 0 - 2
src/extensions/filter-control/utils.js

@@ -353,8 +353,6 @@ export function createControls (that, header) {
     $.each(header.find('th'), (i, th) => {
       const $th = $(th)
 
-      $th.find('.filter-control').remove()
-
       if ($th.data('field') === column.field) {
         $th.find('.fht-cell').append(html.join(''))
         return false