From 9c363103d66dd973e9dfafa85563687c7bdb48b0 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 5 Mar 2024 15:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E4=BC=9A=E8=AF=9D:=20?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Conversations/Components/ConversationsList.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/Conversations/Components/ConversationsList.jsx b/src/views/Conversations/Components/ConversationsList.jsx index 98889c0..58336f7 100644 --- a/src/views/Conversations/Components/ConversationsList.jsx +++ b/src/views/Conversations/Components/ConversationsList.jsx @@ -87,6 +87,9 @@ const Conversations = () => { const handleConversationItemClose = async (item) => { await fetchConversationItemClose({ conversationid: item.sn, opisn: item.opi_sn }); delConversationitem(item); + if (String(order_sn) === String(item.coli_sn)) { + navigate(`/order/chat`, { replace: true }); + } }; return ( <>