页面跳转时,将一条比较复杂的地址作为参数,如何传递?How to pass a complex address as a parameter when the page is redirected?
如题,感谢回答
Thank you for your answer
回答:
1、decodeURIComponent(JSON.stringify(data))
2、wx.setStorageSync
3、EventChannel
encode编码,接收的地方再decode
1.直接url传参
2.全局变量
3.本地存储
原文出处:页面跳转时,将一条比较复杂的地址作为参数,如何传递?
群主管理都是支付大佬
1、decodeURIComponent(JSON.stringify(data))
2、wx.setStorageSync
3、EventChannel