微信小程序 Unexpected end of JSON input;at “xxx“ page lifeCycleMethod onLoad... 携带参数跳转页面转化不了数据参数解决
①我的问题是:将后台返回的商品信息,以参数形式传递给下个页面
上,代码~
let nextShopInfo={
pageName:'commodityDetail',
lastShopInfo:_self.initShopInfo,
shopNum:_self.userSelectCommodityNum,
}
nextShopInfo=JSON.stringify(nextShopInfo);
// 传递给订单页面 普通商品的id和选择的商品数量encodeURIComponent
un
原创
2021-01-08 20:33:49 ·
218 阅读 ·
2 评论