From 12e1f8a60b909e288c9e4c0ad20a8160b5f09d5d Mon Sep 17 00:00:00 2001 From: Apple <> Date: Thu, 27 Oct 2022 10:54:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E3=80=90C=E7=AB=AF=E3=80=91=E3=80=90?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E3=80=91=E8=B4=AD=E4=B9=B0=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=BA=94=E8=AF=A5=E5=85=88=E5=88=A4=E6=96=AD=E5=95=86=E5=93=81?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E6=9C=89=E6=9C=AA=E5=AE=8C=E6=88=90=E7=9A=84?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=EF=BC=8C=E5=86=8D=E5=88=A4=E6=96=AD=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E9=A2=86=E5=8F=96=E9=99=90=E5=88=B6,=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=88=A4=E6=96=AD=E5=95=86=E5=93=81=E7=8A=B6=E6=80=81?= =?UTF-8?q?22=EF=BC=8C=E5=8F=AF=E8=BF=9B=E5=85=A5=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- coupon/couponCollection.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coupon/couponCollection.html b/coupon/couponCollection.html index b014048..1a86d92 100644 --- a/coupon/couponCollection.html +++ b/coupon/couponCollection.html @@ -408,7 +408,7 @@ localStorage.setItem('goodsCollection', JSON.stringify(goodsArr)); self.goodsShow = goodsArr.length > 1; localStorage.setItem('goodsCount', goodsArr.length); - if (goodsArr && goodsArr.length == 1 && goodsArr[0].available == 1) { + if (goodsArr && goodsArr.length == 1 && (goodsArr[0].available == 1||goodsArr[0].available == 22)) { localStorage.setItem('goodsInfo', JSON.stringify(goodsArr[0])); localStorage.setItem('key', goodsArr[0].key); localStorage.setItem('token', goodsArr[0].token); @@ -515,7 +515,7 @@ exchangeBtn (row = this.exchangeCommity) { let gstatus = row.available; this.gstatus = gstatus; - if (gstatus == 1) { + if (gstatus == 1||gstatus == 22) { // 跳转商品详情页面 if (this.showType == 1) { //白名单 localStorage.setItem('token', row.token);