From 5bd39bab98f4da4d7f3bdef3bee67620f9ac70a1 Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Sun, 28 Nov 2021 17:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3token=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homepage.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/homepage.html b/homepage.html index a6eca7f..70c769f 100644 --- a/homepage.html +++ b/homepage.html @@ -228,7 +228,7 @@ created() { this.bgcolor = sessionStorage.getItem('bcolor'); this.topImg = sessionStorage.getItem('top_img'); - // this.layout = sessionStorage.getItem('showTyle'); + this.layout = sessionStorage.getItem('showTyle'); this.getGoods(); }, methods: { @@ -279,7 +279,10 @@ self.popboxshow = true; self.tiptext = res.message; } - }).catch(err => {}); + }).catch(err => { + window.location.href="./index.html"; + sessionStorage.clear(); + }); }, //选择商品点击兑换 exchangeBtn(row = this.exchangeCommity) {