-
Status changed to merged
-
mentioned in commit 58cdc2c3af0e97972e732d4c6ef76261d21fad57
-
小程序导航的跳转 See merge request !572
Showing
1 changed file
custom-tab-bar/index.js
@@ -66,7 +66,8 @@ Component({ | @@ -66,7 +66,8 @@ Component({ | ||
66 | var url=e.currentTarget.dataset.url; | 66 | var url=e.currentTarget.dataset.url; |
67 | if(!url) return false; | 67 | if(!url) return false; |
68 | if(url[0]!='/') url='/'+url; | 68 | if(url[0]!='/') url='/'+url; |
69 | - wx.switchTab({url:url,}) | 69 | + //wx.switchTab({url:url,}) |
70 | + getApp().goto(url); | ||
70 | } | 71 | } |
71 | 72 | ||
72 | } | 73 | } |