tabBar 跳转至非tabBar页面出现问题
- 当前 Bug 的表现(可附上截图)如下图1,2,3中图1和图2是tabBar页面,图3是图1的下一级页面.
进入图1后,先点至图2,再点击回到图1,然后我使用wx.navigateTo从图1跳至图3,跳转过程中会先出现一下图2,再跳转至图3,新人求教
-
预期表现
-
复现路径
-
提供一个最简复现 Demo
“tabBar”: {
“borderStyle”: “white”,
“position”:“bottom”,
“list”: [
{
“pagePath”: “pages/posts/post”,
“text”: “阅读”,
“iconPath”: “images/tab/yuedu.png”,
“selectedIconPath”: “images/tab/yuedu_hl.png”
},
{
“pagePath”: “pages/movies/movies”,
“text”: “电影”,
“iconPath”: “images/tab/dianying.png”,
“selectedIconPath”: “images/tab/dianying_hl.png”
}
]
}
//跳转至非tabBar页面
wx.navigateTo({
url: “post-detail/post-detail?id=” + postId
})
