微信小程序----页面跳转

<navigator url="/pages/xxx/xxx" open-type='params'>

当前页 之前页

params

  • redirect 无返回按钮 只渲染当前页 之前页清除
  • navigateback delta="2 " 返回层级
  • reLaunch
  • switchTab 跳转至tabbar中的url
  • null 之前页 依然存在,不会清除 有返回按钮
posted @ 2020-05-20 14:03  insense  阅读(135)  评论(0)    收藏  举报