请求聊天总数 设置已读改为websocket模式
This commit is contained in:
parent
7bfb2df8de
commit
0851f11e54
@ -98,9 +98,9 @@ export default {
|
|||||||
if(isNotEmpty(contactId)&&contactId==data.body.toContactId){
|
if(isNotEmpty(contactId)&&contactId==data.body.toContactId){
|
||||||
console.log('当前在该用户聊天框 设置为已读')
|
console.log('当前在该用户聊天框 设置为已读')
|
||||||
}
|
}
|
||||||
|
this.$refs.im.readAuthorMessage(contactId)
|
||||||
}catch (e) {
|
}catch (e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//请求总数
|
//请求总数
|
||||||
this.$refs.im.getUnReadCount()
|
this.$refs.im.getUnReadCount()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user