Skip to content
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

fix(body): 修复 addEventListener 事件处理函数为空 #557

Merged
merged 1 commit into from
Mar 30, 2023
Merged

fix(body): 修复 addEventListener 事件处理函数为空 #557

merged 1 commit into from
Mar 30, 2023

Conversation

Alfred-Skyblue
Copy link
Contributor

描述

我发现在 body/index.jsx 中,并没有找到 this.dealKeydownEvent,但在挂载时监听了 keydown 事件,由于没有找到这个方法,所以传递给 addEventListener 的事件处理函数是一个undefined,导致我在一些环境下产生错误

@huangshuwei huangshuwei merged commit 8f87bca into Happy-Coding-Clans:master Mar 30, 2023
@huangshuwei
Copy link
Collaborator

感谢你的贡献,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants