Authored by htoooth

FIX

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