diff --git a/exchange.html b/exchange.html index f994ca6..f0ab416 100644 --- a/exchange.html +++ b/exchange.html @@ -347,12 +347,12 @@ const clr = setTimeout(() => { if (this.goodInfo.product_type === 2) { if (!this.backAble && this.goodsDetail.restrict == 1) { - window.location.replace('/orderDetails/cardOrder.html'); + 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'; + window.location.href = './orderDetails/chargerOrder.html'; } clearTimeout(clr); }, 1000); diff --git a/orderDetails/cardOrder.html b/orderDetails/cardOrder.html index fd11268..bc5e18b 100644 --- a/orderDetails/cardOrder.html +++ b/orderDetails/cardOrder.html @@ -14,7 +14,7 @@
- @@ -72,7 +72,6 @@ const toast = ref(false); const clr = ref(null); const goodsCount = ref(0); - const backShow = ref(sessionStorage.getItem('backShow')); onMounted(() => { goodsCount.value = Number(sessionStorage.getItem('goodsCount')) || 0;