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

Home键盘的监听移除写错了 #55

Open
kentge opened this issue Jan 13, 2025 · 1 comment
Open

Home键盘的监听移除写错了 #55

kentge opened this issue Jan 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@kentge
Copy link

kentge commented Jan 13, 2025

window.addEventListener('keydown', (e: any) => {
window.removeEventListener('keydown', listenKeyboard)

监听的是个匿名函数移除不了

@LOG1997 LOG1997 added the bug Something isn't working label Jan 13, 2025
@LOG1997
Copy link
Owner

LOG1997 commented Jan 13, 2025

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants