客户端消息发送
This commit is contained in:
@@ -49,6 +49,8 @@ let observer = null;
|
||||
import favorites from '../favorites/index.vue';
|
||||
import chatItem from './chat-item.vue';
|
||||
import sendCard from './sendCard.vue';
|
||||
|
||||
|
||||
export default {
|
||||
components: {
|
||||
chatItem,
|
||||
@@ -627,18 +629,26 @@ export default {
|
||||
if (!e) {
|
||||
return;
|
||||
}
|
||||
this.$fc.pushOutMsg({
|
||||
/*
|
||||
this.$fc.pushOutMsg({
|
||||
msgContent: e,
|
||||
msgType: msgType,
|
||||
windowType: this.talkTo.windowType,
|
||||
userId: this.talkTo.userId
|
||||
});
|
||||
this.msg = '';
|
||||
this.msg = '';
|
||||
*/
|
||||
// #ifdef H5
|
||||
this.msgFocus = false;
|
||||
this.$nextTick(() => {
|
||||
this.msgFocus = true;
|
||||
});
|
||||
|
||||
console.log("==============sdk:")
|
||||
console.log(this.talkTo.userId)
|
||||
|
||||
this.imsdk.lim.im.sendP2PMessage(this.imsdk.lim.im.createP2PTextMessage(this.talkTo.userId, e))
|
||||
|
||||
// #endif
|
||||
},
|
||||
startRecognize() {
|
||||
|
||||
Reference in New Issue
Block a user