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