From 939481fae42296fa9f811544f70f96bdbfd21dcc Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 31 Dec 2025 09:22:53 +0800 Subject: [PATCH 1/4] refactor: refactor doc --- frontend/src/views/chat/QuickQuestion.vue | 2 +- frontend/src/views/chat/RecommendQuestionQuick.vue | 2 +- frontend/src/views/dashboard/components/sq-tab/index.vue | 6 +++++- frontend/src/views/system/audit/index.vue | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/chat/QuickQuestion.vue b/frontend/src/views/chat/QuickQuestion.vue index fd273ba28..140354a03 100644 --- a/frontend/src/views/chat/QuickQuestion.vue +++ b/frontend/src/views/chat/QuickQuestion.vue @@ -15,7 +15,7 @@ const getRecommendQuestions = () => { const questions = '[]' const retrieveQuestions = () => { - getRecommendQuestions() + recommendQuestionRef.value.getRecommendQuestionsLLM(10) recentQuestionRef.value.getRecentQuestions() } const quickAsk = (question: string) => { diff --git a/frontend/src/views/chat/RecommendQuestionQuick.vue b/frontend/src/views/chat/RecommendQuestionQuick.vue index d2fe67f39..f07b11158 100644 --- a/frontend/src/views/chat/RecommendQuestionQuick.vue +++ b/frontend/src/views/chat/RecommendQuestionQuick.vue @@ -148,7 +148,7 @@ onBeforeUnmount(() => { stop() }) -defineExpose({ getRecommendQuestions, id: () => props.recordId, stop }) +defineExpose({ getRecommendQuestions, id: () => props.recordId, stop, getRecommendQuestionsLLM })