diff --git a/frontend/src/views/chat/QuickQuestion.vue b/frontend/src/views/chat/QuickQuestion.vue index 7d86ab5f6..80f5b447f 100644 --- a/frontend/src/views/chat/QuickQuestion.vue +++ b/frontend/src/views/chat/QuickQuestion.vue @@ -19,6 +19,9 @@ const retrieveQuestions = () => { recentQuestionRef.value.getRecentQuestions() } const quickAsk = (question: string) => { + if (props.disabled) { + return + } emits('quickAsk', question) hiddenProps() } diff --git a/frontend/src/views/ds/RecommendedProblemConfigDialog.vue b/frontend/src/views/ds/RecommendedProblemConfigDialog.vue index 97f7f09d8..66dea695c 100644 --- a/frontend/src/views/ds/RecommendedProblemConfigDialog.vue +++ b/frontend/src/views/ds/RecommendedProblemConfigDialog.vue @@ -119,7 +119,7 @@ defineExpose({ -
+
{{ $t('datasource.add_question') }} diff --git a/frontend/src/views/system/prompt/index.vue b/frontend/src/views/system/prompt/index.vue index ea45b7e6b..68a25bea2 100644 --- a/frontend/src/views/system/prompt/index.vue +++ b/frontend/src/views/system/prompt/index.vue @@ -528,7 +528,7 @@ const typeChange = (val: any) => { - {{ $t('prompt.add_prompt_word') }}11 + {{ $t('prompt.add_prompt_word') }}