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

Notify、Dialog、Toast组件,小程序端在页面跳转后返回,存在注册被覆盖的问题 #635

Open
1 of 7 tasks
caidesen opened this issue Apr 22, 2024 · 1 comment
Labels
bug Something isn't working serious bug 呼吁大家及时更新版本

Comments

@caidesen
Copy link

caidesen commented Apr 22, 2024

这个 Issue 涉及以下平台:

  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 头条小程序
  • 快手小程序
  • QQ 轻应用
  • Web 平台(H5)

BUG 描述
截屏2024-04-22 17 22 35
推测是组件销毁时 off 操作未指定具体函数,导致上个页面中监听也失效了
复现步骤
现有两个页面,Page1 Page2,两个页面中都有使用组件,id不同。
先由Page1 跳转至 Page2,随后返回至 Page1,Page1 中的所有Notify.show 没有反应
期望结果

实际结果

截图

环境

附加信息

@zuolung zuolung added need confirm need confirm bug Something isn't working and removed need confirm need confirm labels Apr 29, 2024
@zuolung zuolung changed the title 发生页面回退后,Notify无法调用 Notify、Dialog、Toast组件,小程序端在页面跳转后返回,存在注册被覆盖的问题 Apr 30, 2024
@zuolung zuolung added the serious bug 呼吁大家及时更新版本 label Apr 30, 2024
@zuolung
Copy link
Contributor

zuolung commented Apr 30, 2024

之前的设计不严谨,使用useDidshow修复, 呼吁大家及时更新到3.3.6和2.5.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working serious bug 呼吁大家及时更新版本
Projects
None yet
Development

No branches or pull requests

2 participants