This commit is contained in:
parent
c22ec5c0f1
commit
9eb242a53d
|
@ -194,7 +194,7 @@
|
|||
//刷新页面
|
||||
successchangeBtnFn() {
|
||||
console.log(window);
|
||||
window.replace(document.referrer);
|
||||
window.location.replace(document.referrer);
|
||||
},
|
||||
//兑换商品
|
||||
exchangeGoodsFn() {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue