Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -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){ |
-
Please register or login to post a comment