🐛 fix: 修复bug

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

View File

@ -238,9 +238,11 @@
//刷新页面 //刷新页面
successchangeBtnFn () { successchangeBtnFn () {
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) { if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {
this.popboxshow = false;
window.location.href = './coupon/lookCard.html'; window.location.href = './coupon/lookCard.html';
} else {
window.location.replace(document.referrer);
} }
window.location.replace(document.referrer);
}, },
//兑换商品 //兑换商品