test:打印链接跳转路由
This commit is contained in:
parent
8f891136aa
commit
1b41899583
|
@ -576,7 +576,6 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
//优惠券订单支付
|
//优惠券订单支付
|
||||||
createdPay (orderNumber) {
|
createdPay (orderNumber) {
|
||||||
console.log(582,orderNumber);
|
console.log(582,orderNumber);
|
||||||
|
|
|
@ -110,7 +110,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
|
|
||||||
let self = this;
|
let self = this;
|
||||||
//获取链接携带的参数
|
//获取链接携带的参数
|
||||||
let linkId = this.getQueryString('id');
|
let linkId = this.getQueryString('id');
|
||||||
|
@ -126,6 +125,7 @@
|
||||||
req.axiosGet('/plan/plan_theme/' + linkId).then(res => {
|
req.axiosGet('/plan/plan_theme/' + linkId).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
window.location.replace(res.data);
|
window.location.replace(res.data);
|
||||||
|
|
||||||
self.loading = false;
|
self.loading = false;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
@ -142,6 +142,7 @@
|
||||||
localStorage.setItem('title', res.data.title);
|
localStorage.setItem('title', res.data.title);
|
||||||
localStorage.setItem('product_list', JSON.stringify(res.data[this.typeList[res.data.page]].product_list));
|
localStorage.setItem('product_list', JSON.stringify(res.data[this.typeList[res.data.page]].product_list));
|
||||||
localStorage.setItem('product_detail', JSON.stringify(res.data[this.typeList[res.data.page]].product_detail));
|
localStorage.setItem('product_detail', JSON.stringify(res.data[this.typeList[res.data.page]].product_detail));
|
||||||
|
localStorage.setItem('test', window.location.href);
|
||||||
if(isWx()){
|
if(isWx()){
|
||||||
this.getweixin();
|
this.getweixin();
|
||||||
}
|
}
|
||||||
|
@ -197,6 +198,7 @@
|
||||||
center.style.height = img.clientHeight + "px";
|
center.style.height = img.clientHeight + "px";
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// localStorage.clear()
|
// localStorage.clear()
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
Loading…
Reference in New Issue