wujingjing
2024-08-12 65b112afeed88e66d6bfd9f30f817674290d7780
1
2
3
4
5
6
7
8
9
10
11
12
export const selectCurrentTabBehavior = Behavior({
  pageLifetimes: {
    show() {
      if (typeof this.getTabBar === 'function' &&
        this.getTabBar()) {
        this.getTabBar().setData({
          selected: 0
        })
      }
    }
  }
})