代码
console.log(that.data.photo_src[e.currentTarget.dataset.id].author)
wx.navigateTo({
url: '../show_pic_detail/show_pic_detail?isTap1=' + that.data.isTap1 + '&isTap2=' + that.data.isTap2 + '&photo_url=' + that.data.photo_src[e.currentTarget.dataset.id].url + '&photo_author=' + that.data.photo_src[e.currentTarget.dataset.id].author + '&photo_id=' + e.currentTarget.dataset.id + '&photo_download=' + that.data.photo_src[e.currentTarget.dataset.id].download + '&animation_id=' + e.currentTarget.dataset.id + '&animation_url=' + that.data.animation_src[e.currentTarget.dataset.id].url + '&animation_author=' + that.data.animation_src[e.currentTarget.dataset.id].author + '&animation_author_id=' + that.data.animation_src[e.currentTarget.dataset.id].author_id,
})
在接受页面接受到的参数

参数在控制台能打印出来,发布审核已经超过八天了--微信小程序开发。可是当传参数的时候会中断后面参数的传递(如:把animation_url放在photo_author前面,animation_url就能成功传递)
萌新实在不知道为什么,求解答,万分感谢!
微信小程序开发相关问题解答;本文来自微信小程序工厂 http://www.xcxgc.com 转载请保留。
本文网址:http://www.91bianli.com/kaifazhinan/66445.html