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) {
|
||||
contactList = allContactList.slice(startNumber, endNumber);
|
||||
} else {
|
||||
contactList = allContactList;
|
||||
contactList = allContactList.slice(startNumber, allContactList.length);
|
||||
}
|
||||
if (contactList.length === 0) {
|
||||
alert("联系人数为0")
|
||||
return
|
||||
}
|
||||
contactList.forEach((contact) => {
|
||||
console.log(contact.mail)
|
||||
})
|
||||
mongoManager.connect().then(r => {
|
||||
filterAlreadyBookedContacts(contactList).then(listToBook => {
|
||||
console.log("number of contacts to book:" + listToBook.length)
|
||||
|
||||
Reference in New Issue
Block a user