Browse Source

fix: select onKeyDown error #217

pull/225/head
tangjinzhou 6 years ago
parent
commit
0983a0f83f
  1. 2
      components/_util/proxyComponent.jsx

2
components/_util/proxyComponent.jsx

@ -45,7 +45,7 @@ export default function wrapWithConnect (WrappedComponent) {
}
Object.keys(methods).map(m => {
ProxyWrappedComponent.methods[m] = function () {
this.getProxyWrappedInstance()[m](...arguments)
return this.getProxyWrappedInstance()[m](...arguments)
}
})
return ProxyWrappedComponent

Loading…
Cancel
Save