Commit c3ef2907 authored by IvyXia123's avatar IvyXia123

dd

parent ad2f6484
...@@ -101,7 +101,6 @@ export default { ...@@ -101,7 +101,6 @@ export default {
message: "" message: ""
}); });
// this.groupDetail = JSON.parse(sessionStorage.getItem('groupDetail')); // this.groupDetail = JSON.parse(sessionStorage.getItem('groupDetail'));
console.log(this.$route.query.shopId)
if(this.$route.query.shopId) { if(this.$route.query.shopId) {
getGoodsDetailApi(this.$route.query.shopId).then(data => { getGoodsDetailApi(this.$route.query.shopId).then(data => {
data.desc = JSON.parse(data.desc); data.desc = JSON.parse(data.desc);
...@@ -120,8 +119,6 @@ export default { ...@@ -120,8 +119,6 @@ export default {
localStorage.setItem("userDesc", JSON.stringify(res)); localStorage.setItem("userDesc", JSON.stringify(res));
this.userDesc = res; this.userDesc = res;
this.subscribe = this.userDesc.open_info.is_subscribe; this.subscribe = this.userDesc.open_info.is_subscribe;
console.log(this.subscribe, 9999)
// alert(this.subscribe)
getOrderDetailApi(this.orderNo).then(res => { getOrderDetailApi(this.orderNo).then(res => {
this.goods_id = res.goods_id; this.goods_id = res.goods_id;
this.invite_code = `CC-${res.invite_type}-${res.invite_id}`; this.invite_code = `CC-${res.invite_type}-${res.invite_id}`;
...@@ -131,7 +128,6 @@ export default { ...@@ -131,7 +128,6 @@ export default {
}); });
}); });
} else { } else {
// alert(888)
this.userDesc = JSON.parse(localStorage.getItem("userDesc")); this.userDesc = JSON.parse(localStorage.getItem("userDesc"));
this.subscribe = this.userDesc.open_info.is_subscribe; this.subscribe = this.userDesc.open_info.is_subscribe;
getOrderDetailApi(this.orderNo).then(res => { getOrderDetailApi(this.orderNo).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment