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

【useDidShow 】在小程序切换前后台时不触发。 #8131

Closed
dashixiong-11 opened this issue Nov 26, 2020 · 2 comments
Closed

【useDidShow 】在小程序切换前后台时不触发。 #8131

dashixiong-11 opened this issue Nov 26, 2020 · 2 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@dashixiong-11
Copy link

相关平台

微信小程序

小程序基础库: 2.13.1
使用框架: React

复现步骤

微信小程序切换前后台

期望结果

小程序从后台,切换到前台时触发useDidShow

实际结果

只是在页面切换时触发,从别的应用切换回小程序时不触发

环境信息

� Taro v3.0.14


  Taro CLI 3.0.14 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.4 - C:\Users\root\AppData\Roaming\npm\yarn.CMD
      npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD

@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Nov 26, 2020
@Ale-cc
Copy link

Ale-cc commented Dec 21, 2020

+1

@Chen-jj
Copy link
Contributor

Chen-jj commented Dec 22, 2020

复现不了,升级到最新版本再试试。

@Chen-jj Chen-jj closed this as completed Dec 22, 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

No branches or pull requests

3 participants