Skip to content

Commit 845c207

Browse files
perf: chat share
1 parent 035c00b commit 845c207

File tree

17 files changed

+546
-428
lines changed

17 files changed

+546
-428
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="item-content mb-16 lighter">
2+
<div class="item-content lighter">
33
<template v-for="(answer_text, index) in answer_text_list" :key="index">
44
<div class="avatar mr-8" v-if="showAvatar">
55
<img v-if="application.avatar" :src="application.avatar" height="28px" width="28px" />
@@ -12,7 +12,7 @@
1212
'padding-right': showUserAvatar ? 'var(--padding-left)' : '0',
1313
}"
1414
>
15-
<el-card shadow="always" class="mb-8 border-r-8" style="--el-card-padding: 6px 16px">
15+
<el-card shadow="always" class="border-r-8" style="--el-card-padding: 6px 16px">
1616
<MdRenderer
1717
v-if="
1818
(chatRecord.write_ed === undefined || chatRecord.write_ed === true) &&
@@ -60,6 +60,7 @@
6060
'padding-left': showAvatar ? 'var(--padding-left)' : '0',
6161
'padding-right': showUserAvatar ? 'var(--padding-left)' : '0',
6262
}"
63+
v-if="!selection"
6364
>
6465
<OperationButton
6566
:type="type"
@@ -90,6 +91,7 @@ const props = defineProps<{
9091
chatManagement: any
9192
type: 'log' | 'ai-chat' | 'debug-ai-chat'
9293
executionIsRightPanel?: boolean
94+
selection?: boolean
9395
}>()
9496
9597
const emit = defineEmits([

0 commit comments

Comments
 (0)