💪 optimize: 优化代码

This commit is contained in:
wangsongsole 2024-01-10 14:20:46 +08:00
parent 9213e2f70e
commit e37be7e62d
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@
this.loading = true;
setTimeout(() => {
sessionStorage.setItem('orderNumber', res.data.order_number);
window.location.href = './coupon/lookCard.html';
window.location.replace('./coupon/lookCard.html');
this.loading = false;
}, 3000);
} else if (!this.backAble && this.goodsDetail.restrict > 1) {