Browse Source

统计bug修改

feature/3.0.0-推广员
lfs3 6 years ago
parent
commit
9184d7b6b3
1 changed files with 7 additions and 1 deletions
  1. 8
      src/view/home.vue

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

Loading…
Cancel
Save