微信小程序获取非本页面数据之encodeURLComponent和setStorageSync
第一种,使用路由传参的方式:(encodeURIComponent)本页面:wx.navigateTo({url:"/pages/accountManage/electronicAccountTop-up/results/index"+"?prama="+encodeURIComponent(JSON.stringify(prama)),})下一个页面:onLoad:function(options){letlist=JSON.p...
原创
2021-09-13 15:03:01 ·
576 阅读 ·
0 评论