Commit fc3af3b76ea962f2ee8e86694e08cbaad3b1d271

Authored by yvan.ni
1 parent eef01393

小程序导航的跳转

Showing 1 changed file with 2 additions and 1 deletions
custom-tab-bar/index.js
... ... @@ -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 }
... ...