-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
从小程序编译到h5 ,onTap
不支持?
#2198
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
编译为h5时,
onTap={this.handleItemTap}
无法响应。复现步骤
就是简单的事件绑定:
onTap={this.handleItemTap}
期望行为
在编译为h5时,可以转换为click
报错信息
点击没有任何消息
系统信息
λ taro info
� Taro v1.2.13
Taro CLI 1.2.13 environment info:
System:
OS: Windows 10
Binaries:
Node: 10.14.0 - D:\Applications\Scoop\apps\nvm\current\nodejs\nodejs\node.EXE
Yarn: 1.13.0 - D:\Applications\Scoop\apps\yarn\current\Yarn\bin\yarn.CMD
npm: 6.4.1 - D:\Applications\Scoop\apps\nvm\current\nodejs\nodejs\npm.CMD
补充信息
onTap={this.handleItemTap}
,换成onClick
就行了编译到h5时,没有考虑到
onTap
?The text was updated successfully, but these errors were encountered: