小程序页面跳转传递多个参数

var question = {
    "title": that.data.title, "content": that.data.content, "headpicture": that.data.headpicture, "upurl": that.data.upurl, "createdat": that.data.createdat, "wx_id": that.data.wx_id
};
                
wx.navigateTo({
   url: '../view/view?question=' + JSON.stringify(question),
})

猜你喜欢

转载自blog.csdn.net/aaron9185/article/details/79011380