|
|
|
|
@ -316,6 +316,7 @@ function ChatHistory() {
|
|
|
|
|
subtitle={`${item.OPI_Name || ''} ${item.coli_id || ''}`}
|
|
|
|
|
date={item.last_received_time}
|
|
|
|
|
// dateString={item.last_received_time}
|
|
|
|
|
dateString={item.dateText}
|
|
|
|
|
className={String(item.conversationid) === String(selectedConversation.conversationid) ? '__active text-primary bg-neutral-100' : ''}
|
|
|
|
|
onClick={() => setSelectedConversation(item)}
|
|
|
|
|
/>
|
|
|
|
|
@ -340,7 +341,7 @@ function ChatHistory() {
|
|
|
|
|
title={item.sender === 'me' ? selectedConversation.OPI_Name || item.senderName : item.senderName}
|
|
|
|
|
subtitle={item.originText}
|
|
|
|
|
date={item.msgtime}
|
|
|
|
|
// dateString={item.msgtime}
|
|
|
|
|
dateString={item.dateText}
|
|
|
|
|
className={String(item.sn) === String(selectMatch?.sn) ? '__active text-primary bg-neutral-100' : ' bg-white'}
|
|
|
|
|
onClick={() => handleMatchMsgClick(item)}
|
|
|
|
|
/>
|
|
|
|
|
@ -392,7 +393,7 @@ function ChatHistory() {
|
|
|
|
|
navigator.clipboard.writeText(message.text);
|
|
|
|
|
appMessage.success('复制成功😀');
|
|
|
|
|
},
|
|
|
|
|
Component: () => <div>复制</div>,
|
|
|
|
|
Component: () => <div key='copy'>复制</div>,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
|