|
|
|
@ -71,6 +71,10 @@ const Conversations = ({ mobile }) => {
|
|
|
|
|
} else {
|
|
|
|
|
// findCurrentIndex = conversationsList.findIndex((item) => item.coli_sn === Number(colisn)); // data.findIndex((item) => item.sn === currentConversation.sn);
|
|
|
|
|
}
|
|
|
|
|
} else if (isEmpty(whatsappID)) {
|
|
|
|
|
// 刷新页面
|
|
|
|
|
findCurrentIndex = conversationsList.findIndex((item) => `${item.coli_sn}` === `${colisn}`);
|
|
|
|
|
findCurrent = conversationsList[findCurrentIndex];
|
|
|
|
|
}
|
|
|
|
|
if (findCurrentIndex >= 0) {
|
|
|
|
|
setCurrentConversation(findCurrent);
|
|
|
|
|