直播聊天是状态

This commit is contained in:
luyuan 2020-08-13 16:05:43 +08:00
parent ca9b43a597
commit 1b0528f7dc
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -454,6 +454,13 @@ export default {
},
methods:{
sendMessage (messageType, content) {//发送消息
if(!this.chatRoomService.status){
uni.showToast({
title: '连接聊天室中,请稍等',
duration: 2000
});
return
}
console.log(this.room,this.room.id,messageType, content)
if(content == "" && messageType == 0) return;
var message = {