From e2a62a9bd302a132b9465c6c5b371aa89043059e Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 23 Nov 2023 16:48:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= 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 6aab61f..260a3ec 100644 --- a/exchange.html +++ b/exchange.html @@ -238,9 +238,11 @@ //刷新页面 successchangeBtnFn () { if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) { + this.popboxshow = false; window.location.href = './coupon/lookCard.html'; + } else { + window.location.replace(document.referrer); } - window.location.replace(document.referrer); }, //兑换商品