Commit 6e65c0c94673c018db9e13593d9cf5fef4499d9d

Authored by pengye
1 parent 01df5f4d

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

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