Skip to content

fix(anchor): remove listeners when component destroyed #1889

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

fu050409
Copy link
Collaborator

在 Anchor 被销毁后删除监听事件

What's Changed

  • Fixed some spelling mistakes in the code.
  • Add unmounted method.
  • Remove all listeners when unmounted.

Resolves: #120

- Fixed some spelling mistakes in the code.
- Add unmounted method.
- Remove all listeners when unmounted.

Resolves: DevCloudFE#120
@fu050409 fu050409 requested a review from GreatZPP June 18, 2024 13:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 [Bug]: Anchor组件滚动事件没有销毁
1 participant