dev #65
@ -312,6 +312,7 @@ export default class UdpClientByCenter {
 | 
				
			|||||||
    if (terType == 2) {
 | 
					    if (terType == 2) {
 | 
				
			||||||
      //三型机
 | 
					      //三型机
 | 
				
			||||||
      this.onMessage_1Callback = callback;
 | 
					      this.onMessage_1Callback = callback;
 | 
				
			||||||
 | 
					      this.udp && this.udp.off('message', this.message_1Fn);
 | 
				
			||||||
      this.udp && this.udp.on('message', this.message_1Fn);
 | 
					      this.udp && this.udp.on('message', this.message_1Fn);
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      this.retClass.receiveMsg(callback)
 | 
					      this.retClass.receiveMsg(callback)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user