feat:修改
This commit is contained in:
		
							parent
							
								
									7a197098aa
								
							
						
					
					
						commit
						54e06e7742
					
				| @ -41,7 +41,7 @@ export default async function tcp2ByteRequest(data): Promise<RES> { | |||||||
| 
 | 
 | ||||||
|     //收到消息
 |     //收到消息
 | ||||||
|     tcpClient.on('message', (data) => { |     tcpClient.on('message', (data) => { | ||||||
|       const res = handReceiveMessage(tcpClient, sendData, data) |       const res = handReceiveMessage(tcpClient, sendData, data.message) | ||||||
|       if(res){ |       if(res){ | ||||||
|         tcpClient.close() |         tcpClient.close() | ||||||
|         resolve(res) |         resolve(res) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user