点击选项卡时,点击事件如下:
wx.navigateTo({
url: '../device/device'
})
微信小程序报错:navigateTo:fail can not navigateTo a tabbar page,解决方法如下:
wx.switchTab({
url: '../device/device'
})
标签:navigateTo,选项卡,..,url,微信,点击,跳转,device
来源: https://www.cnblogs.com/trampeagle/p/14943002.html