浏览代码

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

luoyifan 3 年之前
父节点
当前提交
7013768930
共有 1 个文件被更改,包括 4 次插入3 次删除
  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)
                         })
                     }