Skip to content

Commit c16ca71

Browse files
fix: 修复执行详情图片样式
1 parent cefd66d commit c16ca71

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

ui/src/components/ai-chat/ExecutionDetailDialog.vue

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -387,17 +387,19 @@
387387
<span class="color-secondary mr-4">{{ history.role }}:</span>
388388

389389
<span v-if="Array.isArray(history.content)">
390-
<template v-for="(h, i) in history.content" :key="i">
391-
<el-image
392-
v-if="h.type === 'image_url'"
393-
:src="h.image_url.url"
394-
alt=""
395-
fit="cover"
396-
style="width: 40px; height: 40px; display: block"
397-
class="border-r-4"
398-
/>
399-
<span v-else>{{ h.text }}</span>
400-
</template>
390+
<el-space wrap>
391+
<template v-for="(h, i) in history.content" :key="i">
392+
<el-image
393+
v-if="h.type === 'image_url'"
394+
:src="h.image_url.url"
395+
alt=""
396+
fit="cover"
397+
style="width: 40px; height: 40px; display: block"
398+
class="border-r-4"
399+
/>
400+
<span v-else>{{ h.text }}</span>
401+
</template>
402+
</el-space>
401403
</span>
402404

403405
<span v-else>{{ history.content }}</span>

0 commit comments

Comments
 (0)