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 }