From 1b41899583769f7b44083a9706fe8811343ace09 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Thu, 3 Nov 2022 10:21:24 +0800 Subject: [PATCH] =?UTF-8?q?test:=E6=89=93=E5=8D=B0=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- coupon/details.html | 1 - index.html | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/coupon/details.html b/coupon/details.html index 1fe7a1a..1ff05e9 100644 --- a/coupon/details.html +++ b/coupon/details.html @@ -576,7 +576,6 @@ }); }); }, - //优惠券订单支付 createdPay (orderNumber) { console.log(582,orderNumber); diff --git a/index.html b/index.html index fad40eb..1d4bb8c 100644 --- a/index.html +++ b/index.html @@ -110,7 +110,6 @@ }, created () { - let self = this; //获取链接携带的参数 let linkId = this.getQueryString('id'); @@ -126,6 +125,7 @@ req.axiosGet('/plan/plan_theme/' + linkId).then(res => { if (res.code == 200) { window.location.replace(res.data); + self.loading = false; return; } else { @@ -142,6 +142,7 @@ localStorage.setItem('title', res.data.title); localStorage.setItem('product_list', JSON.stringify(res.data[this.typeList[res.data.page]].product_list)); localStorage.setItem('product_detail', JSON.stringify(res.data[this.typeList[res.data.page]].product_detail)); + localStorage.setItem('test', window.location.href); if(isWx()){ this.getweixin(); } @@ -197,6 +198,7 @@ center.style.height = img.clientHeight + "px"; } }) + // localStorage.clear() }, computed: {