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

componentDidShow 生命周期不执行 #7193

Closed
HelloAndyZhang opened this issue Jul 29, 2020 · 0 comments · Fixed by #7174
Closed

componentDidShow 生命周期不执行 #7193

HelloAndyZhang opened this issue Jul 29, 2020 · 0 comments · Fixed by #7174
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@HelloAndyZhang
Copy link

相关平台

微信小程序

复现仓库

https://github.com/HelloAndyZhang/taroV3
小程序基础库: 2.10.0
使用框架: React

复现步骤

taro init 初始化的项目。

期望结果

componentDidShow 正常执行

实际结果

首次进入或者返回componentDidShow 不执行

环境信息

  Taro CLI 3.0.5 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 10.16.0 - E:\nodejs\node.EXE
      Yarn: 1.22.4 - C:\Users\Administrator\AppData\Roaming\npm\yarn.CMD
      npm: 6.9.0 - E:\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jul 29, 2020
@Chen-jj Chen-jj linked a pull request Jul 29, 2020 that will close this issue
14 tasks
@Chen-jj Chen-jj closed this as completed Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants