diff --git a/mixins/configList.js b/mixins/configList.js index b9e66aa..a79666f 100644 --- a/mixins/configList.js +++ b/mixins/configList.js @@ -19,11 +19,15 @@ export default { // 1.发送给朋友 onShareAppMessage(res) { let o = { - ...this.Gshare, title : this.configList.logo_name, + ...this.Gshare, } if(this.userInfo.id){ - o.path = this.Gshare.path + '?shareId=' + this.userInfo.id + if(this.Gshare.path.includes('?')){ + o.path += '&shareId=' + this.userInfo.id + }else{ + o.path += '?shareId=' + this.userInfo.id + } } return o },