🐛 fix: 修复bug

This commit is contained in:
wangsongsole 2023-11-23 16:58:20 +08:00
parent e2a62a9bd3
commit e5af3fea25
1 changed files with 3 additions and 1 deletions

View File

@ -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 = '兑换成功,请到注意查收手机短信!';