From d4fbf0997af87fa66047883ccd0b7406df4e1542 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Mon, 10 Feb 2025 10:24:43 +0800 Subject: [PATCH] fix: Opening statement shortcuts can only handle one issue (#2186) --- ui/src/components/ai-chat/component/prologue-content/index.vue | 2 +- 1 file changed, 1 insertion(+), 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 77969ae49..3cf7a467e 100644 --- a/ui/src/components/ai-chat/component/prologue-content/index.vue +++ b/ui/src/components/ai-chat/component/prologue-content/index.vue @@ -47,7 +47,7 @@ const prologue = computed(() => { let result = temp for (const index in quick_question_list) { const quick_question = quick_question_list[index] - result = temp.replace(quick_question, toQuickQuestion) + result = result.replace(quick_question, toQuickQuestion) } return result }