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 componentDidHide没触发 #2605

Closed
lyevdsky opened this issue Mar 27, 2019 · 7 comments
Closed

百度小程序componentDidShow componentDidHide没触发 #2605

lyevdsky opened this issue Mar 27, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@lyevdsky
Copy link

问题描述
百度小程序componentDidShow componentDidHide没触发

系统信息

  • Taro 版本 1.2.16
@taro-bot
Copy link

taro-bot bot commented Mar 27, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@luckyadam
Copy link
Member

在页面中使用

@luckyadam luckyadam added question Further information is requested answered labels Mar 28, 2019
@taro-bot
Copy link

taro-bot bot commented Mar 28, 2019

Hello~

您的问题楼上已经有了确切的回答,如果没有更多的问题这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

@lyevdsky
Copy link
Author

TIM截图20190328150114
原生小程序,这个方法在自定义组件里也会触发的

在页面中使用

@charmtiger
Copy link

这个只在页面组件中使用,你可以使用 ref 来调用子组件方法

@lyevdsky
Copy link
Author

现在是微信可以触发,百度的不可以。每个页面都引入的组件,还要每个页面都使用ref来调用。@charmtiger @luckyadam

@Chen-jj Chen-jj closed this as completed in 91f5c4f Apr 2, 2019
@Chen-jj Chen-jj added enhancement New feature or request and removed answered question Further information is requested labels Apr 2, 2019
@Chen-jj
Copy link
Contributor

Chen-jj commented Apr 2, 2019

@lyevdsky 下一版本可用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants