Explorar o código

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

luoyifan %!s(int64=3) %!d(string=hai) anos
pai
achega
7013768930
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  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)
                         })
                     }