diff --git a/src/pages/customerservice/support/conversation/components/ChatInput/ChatInput.jsx b/src/pages/customerservice/support/conversation/components/ChatInput/ChatInput.jsx index 7295d18..635108a 100644 --- a/src/pages/customerservice/support/conversation/components/ChatInput/ChatInput.jsx +++ b/src/pages/customerservice/support/conversation/components/ChatInput/ChatInput.jsx @@ -205,7 +205,7 @@ const ChatInput = ((props) => { "supplierNo": supplierNo } API.sendToCs(params).then(res => { - if (res && !res.data) { + if (res && res.success) { }else{ message.warn(res && res.message) }