提交 fe02bc90 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 当会话存在source,发送消息时以chat_source带上

上级 c5234626
...@@ -1227,6 +1227,10 @@ ...@@ -1227,6 +1227,10 @@
return ids return ids
}, },
sendMsg(msg, callback) { sendMsg(msg, callback) {
if(this.conversation.source){
msg.chat_source = this.conversation.source
}
// console.log('sendMsg-sendMsg-sendMsg', msg); // console.log('sendMsg-sendMsg-sendMsg', msg);
const uniImCo = uniCloud.importObject('uni-im-co', { const uniImCo = uniCloud.importObject('uni-im-co', {
customUI: true customUI: true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册