Commit 6e65c0c94673c018db9e13593d9cf5fef4499d9d

Authored by pengye
1 parent 01df5f4d

邀请函配置信息为空报错问题处理

@@ -176,7 +176,7 @@ Page({ @@ -176,7 +176,7 @@ Page({
176 if(data.type == '19' || data.type == '22') url = '/pack-invitation/pages/detail_owner_invitation12'; 176 if(data.type == '19' || data.type == '22') url = '/pack-invitation/pages/detail_owner_invitation12';
177 if(data.type == '20') url = '/pack-invitation/pages/detail_owner_invitation10'; 177 if(data.type == '20') url = '/pack-invitation/pages/detail_owner_invitation10';
178 let marketing = util.determine(data.marketing); 178 let marketing = util.determine(data.marketing);
179 - let isMeeting = marketing.is_customer_confirm?marketing.is_customer_confirm:'0'; 179 + let isMeeting = marketing && marketing.is_customer_confirm?marketing.is_customer_confirm:'0';
180 // is_online_reserve 在线预订开关 hasSellerShare 商家app分享 hasInvitation 受邀人 isDeposit 订金功能 1 是 0 否 isMeeting 赴约功能 1开启 0关闭 180 // is_online_reserve 在线预订开关 hasSellerShare 商家app分享 hasInvitation 受邀人 isDeposit 订金功能 1 是 0 否 isMeeting 赴约功能 1开启 0关闭
181 url += '?id=' + this.data.options.id + '&tplid=' + this.data.options.tplid + '&onlineReserve=' + is_online_reserve + '&hasInvitation=' + this.data.options.hasInvitation + '&hasSellerShare=' + this.data.options.hasSellerShare + '&isDeposit=' + isDeposit + '&isMeeting=' + isMeeting; 181 url += '?id=' + this.data.options.id + '&tplid=' + this.data.options.tplid + '&onlineReserve=' + is_online_reserve + '&hasInvitation=' + this.data.options.hasInvitation + '&hasSellerShare=' + this.data.options.hasSellerShare + '&isDeposit=' + isDeposit + '&isMeeting=' + isMeeting;
182 if(data.type == '18' || data.type == '19') url += '&bookType=1'; 182 if(data.type == '18' || data.type == '19') url += '&bookType=1';