From 82b91bbb602eda5ec1be25e1aabd9126ade1e59b Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 15 Jun 2022 11:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E3=80=90=E8=90=A5=E9=94=80?= =?UTF-8?q?=E8=AE=A1=E5=88=92-C=E7=AB=AF=E3=80=91key=E7=A0=81=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E4=B8=80=E4=B8=AA=E6=99=AE=E9=80=9A=E5=95=86=E5=93=81?= =?UTF-8?q?=EF=BC=8C=E7=99=BB=E5=BD=95=E5=90=8E=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=B1=95=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exchange.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = '成功';