Authored by htoooth

FIX

@@ -163,7 +163,6 @@ Page(Object.assign({ @@ -163,7 +163,6 @@ Page(Object.assign({
163 }; 163 };
164 } else if (res.from === 'button') { 164 } else if (res.from === 'button') {
165 // 用户点击分享按钮 165 // 用户点击分享按钮
166 - console.log(`/pages/product/detail/detail?limitProductCode=${this.data.limitProductCode}&originUid=${app.getUid()}&originUnionID=${app.getUnionID()}`);  
167 return { 166 return {
168 title: params.TITLE, // 分享标题 167 title: params.TITLE, // 分享标题
169 desc: params.DESC, // 分享描述 168 desc: params.DESC, // 分享描述
@@ -298,7 +297,7 @@ Page(Object.assign({ @@ -298,7 +297,7 @@ Page(Object.assign({
298 297
299 let assisStatus = ASSIS_STATUS.SHARE; 298 let assisStatus = ASSIS_STATUS.SHARE;
300 299
301 - if (this.data.assisLimit === result.data.list.length) { 300 + if (result.data.list && this.data.assisLimit === result.data.list.length) {
302 assisStatus = ASSIS_STATUS.ASSIS_FULL; 301 assisStatus = ASSIS_STATUS.ASSIS_FULL;
303 } else { 302 } else {
304 // 不是发起者 303 // 不是发起者
@@ -395,8 +394,8 @@ Page(Object.assign({ @@ -395,8 +394,8 @@ Page(Object.assign({
395 detailModel.addAssist({ 394 detailModel.addAssist({
396 userId: this.data.originUid, 395 userId: this.data.originUid,
397 helpUserId: app.getUnionID(), 396 helpUserId: app.getUnionID(),
398 - helpUserName: userInfo.nickName,  
399 - helpUserImgUrl: userInfo.avatarUrl, 397 + helpUserName: userInfo.nickName ? userInfo.nickName : '',
  398 + helpUserImgUrl: userInfo.avatarUrl ? userInfo.avatarUrl : '',
400 limitProductCode: this.data.limitProductCode 399 limitProductCode: this.data.limitProductCode
401 }).then(result => { 400 }).then(result => {
402 if (result.code === 200) { 401 if (result.code === 200) {
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 "list": [] 33 "list": []
34 }, 34 },
35 "miniprogram": { 35 "miniprogram": {
36 - "current": 4, 36 + "current": 7,
37 "list": [ 37 "list": [
38 { 38 {
39 "id": 0, 39 "id": 0,