微信小程序传递对象和数组 1、数组的传递 传递页面:通过JSON.stringify 方法,将数组或者对象转换成字符串后传递 onList(e){ let str = JSON.stringify(e.currentTarget.dataset.item); wx.navigateTo({