From 9184d7b6b3db41f0b0b6b0ee2e69a3331b87c694 Mon Sep 17 00:00:00 2001 From: lfs3 Date: Wed, 24 Jul 2019 16:16:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/home.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/view/home.vue b/src/view/home.vue index 60a78c2..298ed97 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -412,10 +412,13 @@ export default { // this.getLocation(); this.getData(); var uuniqueId = Qs.parse(location.search.substring(1)).uniqueId + console.log('uuniqueId:'+uuniqueId) if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ this.uniqueId = uuniqueId + console.log('uniqueId:'+this.uniqueId) } return new Promise((resolve, reject) => { + console.log('uniqueId:'+this.uniqueId) var params = { salesmanUniqueIdentity: this.uniqueId, }; @@ -423,7 +426,10 @@ export default { this.showLoading = false; if (res.code == 0) { this.uniqueId=this.$cookies.get('1hjz_mall_unique_id') - this.countExtend(); + if(this.uniqueId !== undefined && this.uniqueId !== null && this.uniqueId !== ""){ + this.countExtend(); + } + this.ShareWenXin(); } else { this.$vux.toast.text(res.msg, "middle");