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");