Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

Merged
huangshuwei merged 1 commit into Happy-Coding-Clans:master from Alfred-Skyblue:fix-hander
Mar 30, 2023
Merged

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

huangshuwei merged 1 commit into Happy-Coding-Clans:master from Alfred-Skyblue:fix-hander
Mar 30, 2023

Conversation

Copy link
Contributor

@Alfred-Skyblue Alfred-Skyblue commented Mar 30, 2023

描述

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

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

感谢你的贡献,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /