Skip to content

Commit b89ee3d

Browse files
fix: icon
1 parent 91eb873 commit b89ee3d

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

ui/src/components/ai-chat/component/answer-content/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ import MdRenderer from '@/components/markdown/MdRenderer.vue'
8080
import OperationButton from '@/components/ai-chat/component/operation-button/index.vue'
8181
import { type chatType } from '@/api/type/application'
8282
import bus from '@/bus'
83-
import useStore from '@/stores'
8483
const props = defineProps<{
8584
chatRecord: chatType
8685
application: any

ui/src/components/ai-chat/component/knowledge-source-component/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="chat-knowledge-source">
3-
<div class="flex align-center mt-16" v-if="application.show_source">
3+
<div class="flex align-center mt-16" v-if="type === 'log' || application.show_source">
44
<span class="mr-4 color-secondary">{{ $t('chat.KnowledgeSource.title') }}</span>
55
<el-divider direction="vertical" />
66
<el-button type="primary" class="mr-8" link @click="openParagraph(data)">
@@ -9,7 +9,7 @@
99
{{ data.paragraph_list?.length || 0 }}</el-button
1010
>
1111
</div>
12-
<div class="mt-8" v-if="application.show_source">
12+
<div class="mt-8" v-if="type === 'log' || application.show_source">
1313
<el-row :gutter="8" v-if="uniqueParagraphList?.length">
1414
<template v-for="(item, index) in uniqueParagraphList" :key="index">
1515
<el-col :span="12" class="mb-8">
@@ -44,7 +44,7 @@
4444
</div>
4545

4646
<div
47-
v-if="application.show_exec"
47+
v-if="type === 'log' || application.show_exec"
4848
class="execution-details border-t color-secondary flex-between mt-12"
4949
style="padding-top: 12px; padding-bottom: 8px"
5050
>

ui/src/views/system-chat-user/group/index.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,7 @@
262262
)
263263
"
264264
>
265-
<el-icon>
266-
<EditPen />
267-
</el-icon>
265+
<AppIcon iconName="app-delete-users"></AppIcon>
268266
</el-button>
269267
</el-tooltip>
270268
</template>

0 commit comments

Comments
 (0)