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