Commit 92862df64a5f25df30645c4f9347e3aee06b3206

Authored by 后端研发-苏明海
2 parents 0715a7a8 fc3af3b7

Merge branch 'dev' into 'test'

小程序导航的跳转

See merge request !572
Showing 1 changed file with 2 additions and 1 deletions
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 }