-
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
Taro 3.6.26 View 初始绑定 onClick 为 undefined,点击报错 #15529
Comments
您的 Issue 没有按照规范从 Taro Issue Helper 创建,因此会被直接关闭。 维护开源项目是一项非常辛苦的工作,还请多多包涵。 |
1 similar comment
您的 Issue 没有按照规范从 Taro Issue Helper 创建,因此会被直接关闭。 维护开源项目是一项非常辛苦的工作,还请多多包涵。 |
This was referenced Apr 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Taro 环境
复现步骤
View 初始绑定 onClick 为 undefined,点击报错
报错原因
代码中,未判断 newEventHandler 不存在的情况,绑定报错
taro/packages/taro-components-library-react/src/react-component-lib/utils/attachProps.ts
Lines 98 to 130 in b3e4a35
The text was updated successfully, but these errors were encountered: