微信小程序跳转传参报错:Unexpected end of JSON input
微信小程序跳转传参报错:Unexpected end of JSON inputA页面B页面
解决办法
使用encodeURIComponent编码
A页面
//自定义跳转方法
function navigate(category, uuid, index, allInfo) {
wx.navigateTo({
url: `/pages/component/insidePages/${category}/${category}?category=${category}&a
原创
2020-11-19 12:14:18 ·
369 阅读 ·
0 评论