diff --git a/app.js b/app.js index 44ce1a7..d0cf91d 100644 --- a/app.js +++ b/app.js @@ -488,7 +488,7 @@ App({ if (arr_tabbar.indexOf(url) != -1) { if (url.indexOf("categoryList?type=1") != -1) this.globalData.cat_type = 1; if (url.indexOf("categoryList?type=2") != -1) this.globalData.cat_type = 2; - wx.switchTab({ url: url, }) //跳到tabbar页 + wx.reLaunch({ url: url, }) //跳到tabbar页 } else { if (getCurrentPages().length > 9) {