From b95fbbf6987c4bfb5f2de40cf44941ff2dd37b20 Mon Sep 17 00:00:00 2001 From: lfs3 Date: Sat, 27 Jul 2019 02:29:28 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/goods-classify.vue | 5 +---- src/view/order-check.vue | 5 +---- src/view/order-detail.vue | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) 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(); }