diff --git a/src/view/goods-classify.vue b/src/view/goods-classify.vue index ec47eee..1613526 100644 --- a/src/view/goods-classify.vue +++ b/src/view/goods-classify.vue @@ -261,10 +261,7 @@ export default { } }, mounted() { - let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId - if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ - this.uniqueId =uuniqueId - } + this.uniqueId =this.$cookies.get('1hjz_mall_unique_id') this.getParams(); this.ShareWenXin(); } diff --git a/src/view/order-check.vue b/src/view/order-check.vue index 3c02c95..344bbe4 100644 --- a/src/view/order-check.vue +++ b/src/view/order-check.vue @@ -305,10 +305,7 @@ export default { } }, mounted() { - let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId - if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ - this.uniqueId =uuniqueId - } + this.uniqueId =this.$cookies.get('1hjz_mall_unique_id') this.getData(); this.goodsNo = this.getParam("goodsNo"); } diff --git a/src/view/order-detail.vue b/src/view/order-detail.vue index b76513f..45161ae 100644 --- a/src/view/order-detail.vue +++ b/src/view/order-detail.vue @@ -349,10 +349,7 @@ export default { } }, mounted() { - let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId - if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ - this.uniqueId =uuniqueId - } + this.uniqueId =this.$cookies.get('1hjz_mall_unique_id') this.orderNo = this.$route.params.id; this.getData(); }