You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
bug 描述
父子组件均使用usePageEvent('onShow'), 在子组件onshow中改变组件状态,离开当前页面再返回该页面时,父组件onShow钩子不会执行,子组件onShow钩子会重复执行。
如果去掉 setCount(count + 1),则正常执行。
复现步骤
离开页面再返回页面
期望结果
父组件钩子执行,子组件钩子均执行,且执行一次
复现代码
版本信息:
其他信息
The text was updated successfully, but these errors were encountered: