print contact email
This commit is contained in:
+4
-1
@@ -64,12 +64,15 @@ async function startBookWithNumbers(startNumber, endNumber, selectedStore, pathT
|
|||||||
if (endNumber <= allContactList.length) {
|
if (endNumber <= allContactList.length) {
|
||||||
contactList = allContactList.slice(startNumber, endNumber);
|
contactList = allContactList.slice(startNumber, endNumber);
|
||||||
} else {
|
} else {
|
||||||
contactList = allContactList;
|
contactList = allContactList.slice(startNumber, allContactList.length);
|
||||||
}
|
}
|
||||||
if (contactList.length === 0) {
|
if (contactList.length === 0) {
|
||||||
alert("联系人数为0")
|
alert("联系人数为0")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
contactList.forEach((contact) => {
|
||||||
|
console.log(contact.mail)
|
||||||
|
})
|
||||||
mongoManager.connect().then(r => {
|
mongoManager.connect().then(r => {
|
||||||
filterAlreadyBookedContacts(contactList).then(listToBook => {
|
filterAlreadyBookedContacts(contactList).then(listToBook => {
|
||||||
console.log("number of contacts to book:" + listToBook.length)
|
console.log("number of contacts to book:" + listToBook.length)
|
||||||
|
|||||||
Reference in New Issue
Block a user