🐛 fix: 修复bug

This commit is contained in:
wangsongsole 2024-01-08 17:16:27 +08:00
parent 3d2b4a2e77
commit 392f7c2e35
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@
/* 只有卡密商品时 直接跳转查看卡密页面 */ /* 只有卡密商品时 直接跳转查看卡密页面 */
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2 && !this.backAble) { if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2 && !this.backAble) {
localStorage.setItem('orderNumber', this.order_number); localStorage.setItem('orderNumber', this.order_number);
window.location.replace('./coupon/lookCard.html'); window.location.href = './coupon/lookCard.html';
} else { } else {
window.location.replace(document.referrer); window.location.replace(document.referrer);
} }