微信小程序路由跳转
2019-09-25 21:17 | 评论:0 次 | 浏览: 182
微信小程序路由跳转 1.wx.switchTab(Object object) 这里的tabBar是底下的导航栏指定的页面, 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面 参数 Object object | 属性 | 类型 | 默认值 | 必填 | 说明 | | | | | | ...
小程序关于switchTab不能传参的问题
2020-08-10 16:35 | 评论:0 次 | 浏览: 136
对于下面链接博客的补充微信小程序:errMsg“:“navigateTo:fail can not navigateTo a tabbar page 报错问题链接: https://blog.csdn.net/ZiChen_Jiang/article/details/107867061.上篇博客说道想要跳转到tabbar,把wx.navigateTo更改为wx.switchTab即可。但是又有一个bug就是wx.switchTab不能传参以下是解决办法:wxml<van-grid