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(Toast): off toast event listener need use its instance #168

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

clanaid
Copy link
Contributor

@clanaid clanaid commented Feb 10, 2022

Toast控件事件监听事件在取消监听时没指定监听器实例,默认取消所有监听器
会导致父页面使用Toast控件,在跳转子页面并在其页面也同时使用Toast控件时,返回后所有监听器都被注销无法触发事件

@hisanshao hisanshao merged commit b92eb6e into AntmJS:main Feb 11, 2022
@clanaid clanaid deleted the fix-toast branch February 11, 2022 13:47
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.

2 participants