fanzenghui

 

 

1、wx.navigateTo
保留当前页面,跳转到应用内的某个页面,使用wx.navigateBack可以返回到原页面。
2、wx.redirectTo
关闭当前页面,跳转到应用内的某个页面。
3、wx.switchTab
跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
4、wx.navigateBack
关闭当前页面,返回上一页面或多级页面。可通过 [getCurrentPages()] 获取当前的页面栈,决定需要返回几层。
5、wx.reLaunch
关闭所有页面,打开到应用内的某个页面。

 

分类:

技术点:

相关文章:

  • 2021-12-02
  • 2021-12-13
  • 2021-10-09
  • 2021-12-22
  • 2021-12-29
  • 2021-12-03
  • 2021-12-19
  • 2021-12-09
猜你喜欢
  • 2021-12-22
  • 2021-12-03
  • 2021-12-02
  • 2022-02-07
  • 2021-12-15
  • 2021-12-19
相关资源
相似解决方案