Commit 65f0bf755b5478fa68133081ac75ff2f3db44242

Authored by wangfan
1 parent bba486e1

预约安排

@@ -96,7 +96,7 @@ Page({ @@ -96,7 +96,7 @@ Page({
96 // detail.cusman_account='wx:vking'; 96 // detail.cusman_account='wx:vking';
97 // } 97 // }
98 detail.hasCanSuccess=false; 98 detail.hasCanSuccess=false;
99 - if(detail.customers.length>0){ 99 + if(detail.customers && detail.customers.length>0){
100 let openid=getApp().openid; 100 let openid=getApp().openid;
101 detail.customers.forEach(item=>{ 101 detail.customers.forEach(item=>{
102 if(openid==item.openid){ 102 if(openid==item.openid){