🐛 fix: 修复bug
This commit is contained in:
parent
3d2b4a2e77
commit
392f7c2e35
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue