微信小程序控制左上角返回传值 onUnload: function() { wx.redirectTo({ url: '指定页面 ? id = ?' }) }, 有什么问题欢迎评论留言,我会及时回复你的。