fix: select onKeyDown error #217

pull/225/head
tangjinzhou 2018-10-10 14:09:13 +08:00
parent 4ebcc99055
commit 0983a0f83f
1 changed files with 1 additions and 1 deletions

View File

@ -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