diff --git a/exchange.html b/exchange.html index 260a3ec..5b5f204 100644 --- a/exchange.html +++ b/exchange.html @@ -239,6 +239,7 @@ successchangeBtnFn () { if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) { this.popboxshow = false; + this.maskshow = false; window.location.href = './coupon/lookCard.html'; } else { window.location.replace(document.referrer); @@ -340,9 +341,10 @@ localStorage.setItem("orderNumber", res.data.order_number); this.loading = true; this.successTip = '兑换成功!'; - setTimeout(() => { + const clr = setTimeout(() => { this.popboxshow = true; this.loading = false; + clearTimeout(cls); }, 3000); } else { this.successTip = '兑换成功,请到注意查收手机短信!';