From 561f3bdd1d50a617a5a4bb98d197aa3d07a72f2a Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 12 Oct 2022 09:49:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=95=86=E5=93=81=E9=A1=B5)=EF=BC=9A?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E7=AB=8B=E5=87=8F=E9=87=91=E9=A2=86=E5=8F=96?= =?UTF-8?q?=E9=87=91=E9=93=BE=E6=8E=A5=E5=A2=9E=E5=8A=A0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homepage.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homepage.html b/homepage.html index e4a2877..eb13b89 100644 --- a/homepage.html +++ b/homepage.html @@ -328,7 +328,7 @@ sessionStorage.setItem('goodsInfo', JSON.stringify(goodsArr[0])); sessionStorage.setItem('key', goodsArr[0].key); sessionStorage.setItem('token', goodsArr[0].token); - window.location.replace(goodsArr[0].type == 1 ? "./exchange.html" : "./reduce.html"); + window.location.replace(goodsArr[0].type == 1 ? "./exchange.html" : "./reduce.html?v=1"); return false; } else if (goodsArr && goodsArr.length >= 1) { self.goodsNum = true; @@ -362,7 +362,7 @@ self.goodsShow = res.data.length > 1; if (res.data && res.data.length == 1){//单个商品直接进入详情页面 sessionStorage.setItem('goodsInfo', JSON.stringify(res.data[0])); - window.location.replace(res.data[0].type == 1 ? "./exchange.html" : "./reduce.html"); + window.location.replace(res.data[0].type == 1 ? "./exchange.html" : "./reduce.html?v=1"); return false; } else if (res.data && res.data.length >= 1) { self.goodsNum = true; @@ -420,7 +420,7 @@ } sessionStorage.setItem('goodsInfo', JSON.stringify(row)); //type :1 兑换码 2:立减金 - window.location.replace(row.type == 1 ? "./exchange.html" : "./reduce.html"); + window.location.replace(row.type == 1 ? "./exchange.html" : "./reduce.html?v=1"); } else { this.maskshow = true; this.popboxshow = true;