Tencent/wepy

如何调用 子组件 pageLifetimes生命周期的方法

Open

#2,408 opened on Sep 22, 2019

View on GitHub
 (3 comments) (0 reactions) (1 assignee)JavaScript (3,055 forks)batch import
good first issue

Repository metrics

Stars
 (22,403 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

最近项目有要求用一点特殊的tabbar,这样原生的就不支持了 我用了官方的方式重写: https://developers.weixin.qq.com/miniprogram/dev/framework/ability/custom-tabbar.html

但是我发现必须要在调用的页面内手动重置select状态(官方提供的DEMO): image

Contributor guide