fix: icon

This commit is contained in:
wangdan-fit2cloud 2025-07-11 17:10:42 +08:00
parent 91eb873312
commit b89ee3d174
3 changed files with 4 additions and 7 deletions

View File

@ -80,7 +80,6 @@ import MdRenderer from '@/components/markdown/MdRenderer.vue'
import OperationButton from '@/components/ai-chat/component/operation-button/index.vue' import OperationButton from '@/components/ai-chat/component/operation-button/index.vue'
import { type chatType } from '@/api/type/application' import { type chatType } from '@/api/type/application'
import bus from '@/bus' import bus from '@/bus'
import useStore from '@/stores'
const props = defineProps<{ const props = defineProps<{
chatRecord: chatType chatRecord: chatType
application: any application: any

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="chat-knowledge-source"> <div class="chat-knowledge-source">
<div class="flex align-center mt-16" v-if="application.show_source"> <div class="flex align-center mt-16" v-if="type === 'log' || application.show_source">
<span class="mr-4 color-secondary">{{ $t('chat.KnowledgeSource.title') }}</span> <span class="mr-4 color-secondary">{{ $t('chat.KnowledgeSource.title') }}</span>
<el-divider direction="vertical" /> <el-divider direction="vertical" />
<el-button type="primary" class="mr-8" link @click="openParagraph(data)"> <el-button type="primary" class="mr-8" link @click="openParagraph(data)">
@ -9,7 +9,7 @@
{{ data.paragraph_list?.length || 0 }}</el-button {{ data.paragraph_list?.length || 0 }}</el-button
> >
</div> </div>
<div class="mt-8" v-if="application.show_source"> <div class="mt-8" v-if="type === 'log' || application.show_source">
<el-row :gutter="8" v-if="uniqueParagraphList?.length"> <el-row :gutter="8" v-if="uniqueParagraphList?.length">
<template v-for="(item, index) in uniqueParagraphList" :key="index"> <template v-for="(item, index) in uniqueParagraphList" :key="index">
<el-col :span="12" class="mb-8"> <el-col :span="12" class="mb-8">
@ -44,7 +44,7 @@
</div> </div>
<div <div
v-if="application.show_exec" v-if="type === 'log' || application.show_exec"
class="execution-details border-t color-secondary flex-between mt-12" class="execution-details border-t color-secondary flex-between mt-12"
style="padding-top: 12px; padding-bottom: 8px" style="padding-top: 12px; padding-bottom: 8px"
> >

View File

@ -262,9 +262,7 @@
) )
" "
> >
<el-icon> <AppIcon iconName="app-delete-users"></AppIcon>
<EditPen />
</el-icon>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
</template> </template>