From 267bb10f634f94d2a3a7f4bb2b558a3443141666 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 21 Jul 2026 11:51:09 +0800 Subject: [PATCH] fix: The opening remarks cannot transmit form_data --- .../components/ai-chat/component/prologue-content/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/component/prologue-content/index.vue b/ui/src/components/ai-chat/component/prologue-content/index.vue index a206fb61423..8176c63af26 100644 --- a/ui/src/components/ai-chat/component/prologue-content/index.vue +++ b/ui/src/components/ai-chat/component/prologue-content/index.vue @@ -15,7 +15,7 @@ void selection?: boolean }>() +const chatMessage = (question: string, type: 'old' | 'new', other_params_data?: any) => { + props.sendMessage(question, other_params_data) +} const showAvatar = computed(() => { return props.application.show_avatar == undefined ? true : props.application.show_avatar