From 287ce570d4e63113f18d9c128f7ee4587fb95282 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 9 Apr 2024 17:20:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95:=20?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=8C=B9=E9=85=8D=E7=A9=BA=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Conversations/History/MessagesList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Conversations/History/MessagesList.jsx b/src/views/Conversations/History/MessagesList.jsx index 97288d5..5c71a94 100644 --- a/src/views/Conversations/History/MessagesList.jsx +++ b/src/views/Conversations/History/MessagesList.jsx @@ -60,7 +60,7 @@ const MessagesList = ({ ...props }) => { firstActionPageParams.lasttime = formValues.from_date; firstActionPageParams.loadPrePage = true; } - if (!isEmpty(formValues?.search)) { + if (!isEmpty(formValues?.search) && !isEmpty(selectedConversation.matchMsgList)) { firstActionPageParams.pretime = selectedConversation.matchMsgList[0].orgmsgtime; firstActionPageParams.lasttime = selectedConversation.matchMsgList[0].orgmsgtime; firstActionPageParams.loadPrePage = true;