发送消息后回调判断修改
This commit is contained in:
@ -205,7 +205,7 @@ const ChatInput = ((props) => {
|
|||||||
"supplierNo": supplierNo
|
"supplierNo": supplierNo
|
||||||
}
|
}
|
||||||
API.sendToCs(params).then(res => {
|
API.sendToCs(params).then(res => {
|
||||||
if (res && !res.data) {
|
if (res && res.success) {
|
||||||
}else{
|
}else{
|
||||||
message.warn(res && res.message)
|
message.warn(res && res.message)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user