From 0796bd8b307de3e6aa4bedf8a44a34a52266b05c Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 8 Apr 2025 15:49:44 +0800 Subject: [PATCH] fix: The form recall node cannot respond --- ui/src/api/type/application.ts | 6 ++++++ .../components/ai-chat/component/answer-content/index.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/src/api/type/application.ts b/ui/src/api/type/application.ts index 0408e6f1f58..077e230973e 100644 --- a/ui/src/api/type/application.ts +++ b/ui/src/api/type/application.ts @@ -442,6 +442,12 @@ export class ChatManagement { chatRecord.write() } } + static open(chatRecordId: string) { + const chatRecord = this.chatMessageContainer[chatRecordId] + if (chatRecord) { + chatRecord.open() + } + } /** * 等待所有数据输出完毕后 才会关闭流 * @param chatRecordId 对话记录id diff --git a/ui/src/components/ai-chat/component/answer-content/index.vue b/ui/src/components/ai-chat/component/answer-content/index.vue index 0836c79934e..b3f4f0034b6 100644 --- a/ui/src/components/ai-chat/component/answer-content/index.vue +++ b/ui/src/components/ai-chat/component/answer-content/index.vue @@ -1,6 +1,5 @@