Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG]升级2.0后.APP应用生命周期无效 #895

Closed
joesdu opened this issue May 6, 2020 · 2 comments · Fixed by #898
Closed

[BUG]升级2.0后.APP应用生命周期无效 #895

joesdu opened this issue May 6, 2020 · 2 comments · Fixed by #898
Labels
bug Something isn't working

Comments

@joesdu
Copy link

joesdu commented May 6, 2020

bug 描述
在app.tsx中写入onShow函数后,未有调用信息输出.

复现步骤
[清晰描述复现步骤,让别人也能看到问题]

期望结果
[描述你原本期望看到的结果]

复现代码
[提供可复现的代码,仓库,或线上示例]

版本信息:

  • remax 版本: [2.0.0]
  • 手机型号 [e.g. iPhone X]
  • 小程序端 [e.g. 微信小程序]
  • 小程序版本[e.g. 2.3.0]
  • 开发环境 [e.g. mac OS]

其他信息
[如截图等其他信息可以贴在这里]

@joesdu joesdu added the bug Something isn't working label May 6, 2020
@joesdu
Copy link
Author

joesdu commented May 6, 2020

目前发现onShow无效果,onHide却能正常执行.

@joesdu
Copy link
Author

joesdu commented May 6, 2020

暂时使用componentDidMount来替代了onShow生命周期函数,希望后期能够解决这个问题.

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

Successfully merging a pull request may close this issue.

1 participant