wxd
/
MShopWeApp
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
fc3af3b76ea962f2ee8e86694e08cbaad3b1d271
Authored by
yvan.ni
2020-12-03 09:26:11 +0800
1 parent
eef01393
小程序导航的跳转
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
custom-tab-bar/index.js
custom-tab-bar/index.js
View file @
fc3af3b
...
...
@@ -66,7 +66,8 @@ Component({
66
66
var url=e.currentTarget.dataset.url;
67
67
if(!url) return false;
68
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
}
...
...