From 54e06e774225d77f366b51eecf2f09feac39ad99 Mon Sep 17 00:00:00 2001 From: surenjun Date: Wed, 5 Mar 2025 09:58:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/tcp2byte/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry/src/main/ets/tcp2byte/index.ts b/entry/src/main/ets/tcp2byte/index.ts index 3f37d965..a7531259 100644 --- a/entry/src/main/ets/tcp2byte/index.ts +++ b/entry/src/main/ets/tcp2byte/index.ts @@ -41,7 +41,7 @@ export default async function tcp2ByteRequest(data): Promise { //收到消息 tcpClient.on('message', (data) => { - const res = handReceiveMessage(tcpClient, sendData, data) + const res = handReceiveMessage(tcpClient, sendData, data.message) if(res){ tcpClient.close() resolve(res)