mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: icon
This commit is contained in:
parent
91eb873312
commit
b89ee3d174
|
|
@ -80,7 +80,6 @@ import MdRenderer from '@/components/markdown/MdRenderer.vue'
|
|||
import OperationButton from '@/components/ai-chat/component/operation-button/index.vue'
|
||||
import { type chatType } from '@/api/type/application'
|
||||
import bus from '@/bus'
|
||||
import useStore from '@/stores'
|
||||
const props = defineProps<{
|
||||
chatRecord: chatType
|
||||
application: any
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<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>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button type="primary" class="mr-8" link @click="openParagraph(data)">
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
{{ data.paragraph_list?.length || 0 }}</el-button
|
||||
>
|
||||
</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">
|
||||
<template v-for="(item, index) in uniqueParagraphList" :key="index">
|
||||
<el-col :span="12" class="mb-8">
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
</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"
|
||||
style="padding-top: 12px; padding-bottom: 8px"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -262,9 +262,7 @@
|
|||
)
|
||||
"
|
||||
>
|
||||
<el-icon>
|
||||
<EditPen />
|
||||
</el-icon>
|
||||
<AppIcon iconName="app-delete-users"></AppIcon>
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue