File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
components/ai-chat/component
knowledge-source-component
views/system-chat-user/group Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ import MdRenderer from '@/components/markdown/MdRenderer.vue'
8080import OperationButton from ' @/components/ai-chat/component/operation-button/index.vue'
8181import { type chatType } from ' @/api/type/application'
8282import bus from ' @/bus'
83- import useStore from ' @/stores'
8483const props = defineProps <{
8584 chatRecord: chatType
8685 application: any
Original file line number Diff line number Diff line change 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)" >
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" >
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 >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments