diff --git a/exchange.html b/exchange.html index 3dd7042..cabcf88 100644 --- a/exchange.html +++ b/exchange.html @@ -156,7 +156,7 @@ this.bgcolor = detailsConfig.button_color; this.ftcolor = detailsConfig.font_color; this.describe = detailsConfig.describe; - let goodsInform = JSON.parse(sessionStorage.getItem('goodsInfo')); //商品信息 + let goodsInform = JSON.parse(sessionStorage.getItem('goodsInfo')).entity; //商品信息 this.goodInfo = goodsInform; let goods_desc = goodsInform.describe_url; this.goodsShow = goods_desc.length > 0 ? goods_desc : [JSON.parse(sessionStorage.getItem('goodsInfo')) @@ -277,6 +277,8 @@ } req.axiosPost('/key/usage', data).then(res => { sessionStorage.setItem('lastid', self.goodInfo.product_id); + console.log(278,res); + return if (res.code == 200) { // 查询订单接口 this.popboxtype = '成功';