feat:修改

This commit is contained in:
surenjun 2025-03-05 09:58:29 +08:00
parent 7a197098aa
commit 54e06e7742

View File

@ -41,7 +41,7 @@ export default async function tcp2ByteRequest(data): Promise<RES> {
//收到消息
tcpClient.on('message', (data) => {
const res = handReceiveMessage(tcpClient, sendData, data)
const res = handReceiveMessage(tcpClient, sendData, data.message)
if(res){
tcpClient.close()
resolve(res)