This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化input组件

old
宇天 2019-11-27 21:07:44 +08:00
parent b88aa8fa7c
commit 4a5222fcf8
1 changed files with 2 additions and 2 deletions

View File

@ -424,8 +424,6 @@ export default class Input {
} }
}) })
this._handleWheel = ebind(this.__INPUT__, 'wheel')
// 非textarea, 可做输入建议功能 // 非textarea, 可做输入建议功能
if (type === 'text') { if (type === 'text') {
// 输入状态事件 // 输入状态事件
@ -472,6 +470,8 @@ export default class Input {
this.dispatchEvent(new CustomEvent('input')) this.dispatchEvent(new CustomEvent('input'))
} }
}) })
} else {
this._handleWheel = ebind(this.__INPUT__, 'wheel')
} }
} }