Skip to content

Commit 939481f

Browse files
committed
refactor: refactor doc
1 parent b158ed4 commit 939481f

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

frontend/src/views/chat/QuickQuestion.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const getRecommendQuestions = () => {
1515
1616
const questions = '[]'
1717
const retrieveQuestions = () => {
18-
getRecommendQuestions()
18+
recommendQuestionRef.value.getRecommendQuestionsLLM(10)
1919
recentQuestionRef.value.getRecentQuestions()
2020
}
2121
const quickAsk = (question: string) => {

frontend/src/views/chat/RecommendQuestionQuick.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ onBeforeUnmount(() => {
148148
stop()
149149
})
150150
151-
defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
151+
defineExpose({ getRecommendQuestions, id: () => props.recordId, stop, getRecommendQuestionsLLM })
152152
</script>
153153

154154
<template>

frontend/src/views/dashboard/components/sq-tab/index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ const props = defineProps({
4848
type: String,
4949
default: 'canvas-main',
5050
},
51+
disabled: {
52+
type: Boolean,
53+
default: false,
54+
},
5155
})
5256
5357
const { configItem } = toRefs(props)
@@ -118,7 +122,7 @@ const beforeHandleCommand = (item: any, param: any) => {
118122
param: param,
119123
}
120124
}
121-
const isEditMode = computed(() => props.showPosition === 'canvas')
125+
const isEditMode = computed(() => props.showPosition === 'canvas' && !props.disabled)
122126
const outResizeEnd = () => {
123127
state.tabShow = false
124128
nextTick(() => {

frontend/src/views/system/audit/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const filterOption = ref<any[]>([
175175
type: 'select',
176176
option: [],
177177
field: 'oid_list',
178-
title: t('audit.operation_user_name'),
178+
title: t('audit.oid_name'),
179179
operate: 'in',
180180
property: { placeholder: t('common.empty') + t('audit.oid_name') },
181181
},

0 commit comments

Comments
 (0)