dev
liuyongli 3 years ago
parent fec170d10d
commit 859f87d819

@ -40,11 +40,12 @@ Component({
switchTab(e) {
const data = e.currentTarget.dataset;
const url = data.path
console.log(url)
this.setData({
selected: data.index
})
wx.switchTab({
url
url: "/" + url
})
}
},

@ -49,11 +49,7 @@ Page({
},
onLoad: function (options) {
<<<<<<< HEAD
// app.editTabbar()
=======
>>>>>>> 90cc6f967d3e535c5197774cd22f4d1620038aae
},
})

Loading…
Cancel
Save