Commit 52418513ecc4a709c63bcaf3a705dbba5ef74701
1 parent
3ed751a9
线下指定门店的优化
Showing
1 changed file
with
1 additions
and
1 deletions
app.js
| @@ -488,7 +488,7 @@ App({ | @@ -488,7 +488,7 @@ App({ | ||
| 488 | if (arr_tabbar.indexOf(url) != -1) { | 488 | if (arr_tabbar.indexOf(url) != -1) { |
| 489 | if (url.indexOf("categoryList?type=1") != -1) this.globalData.cat_type = 1; | 489 | if (url.indexOf("categoryList?type=1") != -1) this.globalData.cat_type = 1; |
| 490 | if (url.indexOf("categoryList?type=2") != -1) this.globalData.cat_type = 2; | 490 | if (url.indexOf("categoryList?type=2") != -1) this.globalData.cat_type = 2; |
| 491 | - wx.switchTab({ url: url, }) //跳到tabbar页 | 491 | + wx.reLaunch({ url: url, }) //跳到tabbar页 |
| 492 | 492 | ||
| 493 | } else { | 493 | } else { |
| 494 | if (getCurrentPages().length > 9) { | 494 | if (getCurrentPages().length > 9) { |