直播聊天是状态 #176

Merged
theluyuan merged 1 commits from xbx into master 2020-08-13 08:06:32 +00:00

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 = {