feat: 优化三代机udp
This commit is contained in:
		
							parent
							
								
									f888e82b00
								
							
						
					
					
						commit
						048a60baeb
					
				| @ -312,6 +312,7 @@ export default class UdpClientByCenter { | ||||
|     if (terType == 2) { | ||||
|       //三型机
 | ||||
|       this.onMessage_1Callback = callback; | ||||
|       this.udp && this.udp.off('message', this.message_1Fn); | ||||
|       this.udp && this.udp.on('message', this.message_1Fn); | ||||
|     } else { | ||||
|       this.retClass.receiveMsg(callback) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user