From bb867c41d0946b68eaea696dc9b8981bb036465b Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Sun, 4 Feb 2024 16:16:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=80=EF=B8=8F=20fix:=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exchange.html | 6 +++--- orderDetails/cardOrder.html | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) 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;