Showing
2 changed files
with
5 additions
and
3 deletions
| @@ -56,8 +56,10 @@ Page({ | @@ -56,8 +56,10 @@ Page({ | ||
| 56 | let hasCanSuccess=false; | 56 | let hasCanSuccess=false; |
| 57 | if(res.data.customers && res.data.customers.length>0){ | 57 | if(res.data.customers && res.data.customers.length>0){ |
| 58 | res.data.customers.forEach((u,i)=>{ | 58 | res.data.customers.forEach((u,i)=>{ |
| 59 | + if(i==0){ | ||
| 60 | + hasOwner=u.openid==this.openid | ||
| 61 | + } | ||
| 59 | if(u.openid==this.openid){ | 62 | if(u.openid==this.openid){ |
| 60 | - if(i==0){hasOwner=true;} | ||
| 61 | hasCanSuccess=true; | 63 | hasCanSuccess=true; |
| 62 | } | 64 | } |
| 63 | }) | 65 | }) |
| @@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
| 31 | "list": [] | 31 | "list": [] |
| 32 | }, | 32 | }, |
| 33 | "miniprogram": { | 33 | "miniprogram": { |
| 34 | - "current": 43, | 34 | + "current": 45, |
| 35 | "list": [ | 35 | "list": [ |
| 36 | { | 36 | { |
| 37 | "id": 0, | 37 | "id": 0, |
| @@ -375,7 +375,7 @@ | @@ -375,7 +375,7 @@ | ||
| 375 | "id": 45, | 375 | "id": 45, |
| 376 | "name": "pages/manager-invitation/display", | 376 | "name": "pages/manager-invitation/display", |
| 377 | "pathName": "pages/manager-invitation/display", | 377 | "pathName": "pages/manager-invitation/display", |
| 378 | - "query": "rid=46&tplid=1&fromid=oB-xJ5KJCIasaEdgMRckqoL1cwg8&hasSellerShare=", | 378 | + "query": "rid=79&tplid=2&fromid=oB-xJ5KJC&hasSellerShare=1", |
| 379 | "scene": null | 379 | "scene": null |
| 380 | }, | 380 | }, |
| 381 | { | 381 | { |
-
Please register or login to post a comment