From c36ff6dc766c310a2bf270956719f24983060594 Mon Sep 17 00:00:00 2001 From: chen wei bo <1025839511@qq.com> Date: Thu, 18 Sep 2025 09:13:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E5=8D=8F=E8=AE=AE=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Scripts/chat18x/core/ChatAIService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/Scripts/chat18x/core/ChatAIService.ts b/assets/Scripts/chat18x/core/ChatAIService.ts index 582e2276..e629d0f1 100644 --- a/assets/Scripts/chat18x/core/ChatAIService.ts +++ b/assets/Scripts/chat18x/core/ChatAIService.ts @@ -210,13 +210,13 @@ export class ChatAIService { let userData = { isAi: false, msg: message, - msgId: new Date().getTime(), + msgId: new Date().getTime().toString(), }; msgList.push(userData); let aiData = { isAi: true, msg: response.text, - msgId: new Date().getTime() + 1, + msgId: (new Date().getTime() + 1).toString(), }; msgList.push(aiData); this.reqChatMsg(roleId, msgList);