小程序 navigator 无法跳转 tabBar上的页面

解决方法一:

navigator 的 open-type 设置为 switchTab

解决方法二:

使用 
wx.switchTab({ 
url: ‘../cart/index’ 
}) 
进行跳转

posted @ 2019-03-04 14:15  冰冰~  阅读(235)  评论(0编辑  收藏  举报