wx.navigateTo 和 wx.redirectTo 是不允许跳转到 tabbar 页面的,
所以如果需要跳转到含有tabbar的页面,只能用 wx.switchTab 跳转。
wx.switchTab({
url: '../home/home'
})
wx.navigateTo 和 wx.redirectTo 是不允许跳转到 tabbar 页面的,
所以如果需要跳转到含有tabbar的页面,只能用 wx.switchTab 跳转。
wx.switchTab({
url: '../home/home'
})
本文标题:微信小程序含tabBar页面跳转失效问题
本文链接:https://www.haomeiwen.com/subject/crkzrctx.html
网友评论