🦀️ fix: 修复bug

This commit is contained in:
wangsongsole 2024-02-04 16:35:15 +08:00
parent a206330f92
commit 1da8464764
1 changed files with 1 additions and 5 deletions

View File

@ -346,11 +346,7 @@
this.openDialog("兑换成功");
const clr = setTimeout(() => {
if (this.goodInfo.product_type === 2) {
if (!this.backAble && this.goodsDetail.restrict == 1) {
window.location.replace('./orderDetails/cardOrder.html');
} else {
window.location.href = './orderDetails/cardOrder.html';
}
window.location.href = './orderDetails/cardOrder.html';
} else {
window.location.href = './orderDetails/chargerOrder.html';
}