diff --git a/exchange.html b/exchange.html
index 542ee11..5ef66a1 100644
--- a/exchange.html
+++ b/exchange.html
@@ -194,7 +194,7 @@
//刷新页面
successchangeBtnFn() {
console.log(window);
- window.replace(document.referrer);
+ window.location.replace(document.referrer);
},
//兑换商品
exchangeGoodsFn() {
diff --git a/homepage.html b/homepage.html
index 6f5ba71..f05a412 100644
--- a/homepage.html
+++ b/homepage.html
@@ -366,6 +366,7 @@
self.swiperDataList = res.data;
self.goodsShow = res.data.length > 1;
if (res.data && res.data.length == 1&&res.data[0].available==1) {
+ console.log(123,res.data);
sessionStorage.setItem('goodsInfo', JSON.stringify(res.data[0]));
window.location.href = "./exchange.html";
return false;