Browse Source

combogrid 当"鼠标点击"触发弹出后,会导致取"e.target.value"值无效

luoyifan 3 năm trước cách đây
mục cha
commit
7013768930
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      src/controls/input/combogrid.js

+ 4 - 3
src/controls/input/combogrid.js

@@ -95,9 +95,10 @@ export default function () {
                             }
                         })
                         $dom.on('change', e => {
-                            if (that.isExpanded) {
-                                that.filterChange(that, e.target.value)
-                            }
+                            // 这里注释掉,是因为 当鼠标点击触发弹出后,会导致取"e.target.value"值无效
+                            // if (that.isExpanded) {
+                            //     that.filterChange(that, e.target.value)
+                            // }
                             stopEvent(e)
                         })
                     }