From 4a5222fcf8b6509b524d9e021111fee695297c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Wed, 27 Nov 2019 21:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96input=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/input.wc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/form/input.wc b/src/form/input.wc index 2c98867..b436d89 100644 --- a/src/form/input.wc +++ b/src/form/input.wc @@ -424,8 +424,6 @@ export default class Input { } }) - this._handleWheel = ebind(this.__INPUT__, 'wheel') - // 非textarea, 可做输入建议功能 if (type === 'text') { // 输入状态事件 @@ -472,6 +470,8 @@ export default class Input { this.dispatchEvent(new CustomEvent('input')) } }) + } else { + this._handleWheel = ebind(this.__INPUT__, 'wheel') } }