This commit is contained in:
parent
c22ec5c0f1
commit
9eb242a53d
|
@ -194,7 +194,7 @@
|
||||||
//刷新页面
|
//刷新页面
|
||||||
successchangeBtnFn() {
|
successchangeBtnFn() {
|
||||||
console.log(window);
|
console.log(window);
|
||||||
window.replace(document.referrer);
|
window.location.replace(document.referrer);
|
||||||
},
|
},
|
||||||
//兑换商品
|
//兑换商品
|
||||||
exchangeGoodsFn() {
|
exchangeGoodsFn() {
|
||||||
|
|
|
@ -366,6 +366,7 @@
|
||||||
self.swiperDataList = res.data;
|
self.swiperDataList = res.data;
|
||||||
self.goodsShow = res.data.length > 1;
|
self.goodsShow = res.data.length > 1;
|
||||||
if (res.data && res.data.length == 1&&res.data[0].available==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]));
|
sessionStorage.setItem('goodsInfo', JSON.stringify(res.data[0]));
|
||||||
window.location.href = "./exchange.html";
|
window.location.href = "./exchange.html";
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue