直播聊天是状态
This commit is contained in:
		
							parent
							
								
									ca9b43a597
								
							
						
					
					
						commit
						1b0528f7dc
					
				| @ -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 = { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user