Showing
1 changed file
with
7 additions
and
7 deletions
| @@ -59,13 +59,13 @@ export default class Customer extends Component { | @@ -59,13 +59,13 @@ export default class Customer extends Component { | ||
| 59 | Contacts.getAll((err, contacts) => { | 59 | Contacts.getAll((err, contacts) => { |
| 60 | if (err && err.type === "permissionDenied") { | 60 | if (err && err.type === "permissionDenied") { |
| 61 | } else { | 61 | } else { |
| 62 | - let phones = []; | 62 | + // let phones = []; |
| 63 | - contacts.forEach((item, index) => { | 63 | + // contacts.forEach((item, index) => { |
| 64 | - item.phoneNumbers.forEach((phone, i) => { | 64 | + // item.phoneNumbers.forEach((phone, i) => { |
| 65 | - phones.push(phone.number); | 65 | + // phones.push(phone.number); |
| 66 | - }); | 66 | + // }); |
| 67 | - }); | 67 | + // }); |
| 68 | - console.log("通信录",phones) | 68 | + console.log("通信录",contacts) |
| 69 | // post( | 69 | // post( |
| 70 | // "/spreader/rank/friends/contact", | 70 | // "/spreader/rank/friends/contact", |
| 71 | // { contact: phones }, | 71 | // { contact: phones }, |
-
Please register or login to post a comment