路由跳转传多个参数

204 阅读1分钟
var that = this;
wx.navigateTo({
url: '../../pages/myListDetail/myListDetail?idx=' + that.data.currentTab + '&parameterId=' + that.data.parameterId+'&888='+888
})
打印目标页面的onLoad函数的事件:
onLoad: function (options) {
console.log(options);
}