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) {