罗广聪

哈哈哈哈 原来还要自己写页面

@@ -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 },