fix: 修复执行详情图片样式
This commit is contained in:
parent
cefd66dcb0
commit
c16ca71a2b
@ -387,6 +387,7 @@
|
|||||||
<span class="color-secondary mr-4">{{ history.role }}:</span>
|
<span class="color-secondary mr-4">{{ history.role }}:</span>
|
||||||
|
|
||||||
<span v-if="Array.isArray(history.content)">
|
<span v-if="Array.isArray(history.content)">
|
||||||
|
<el-space wrap>
|
||||||
<template v-for="(h, i) in history.content" :key="i">
|
<template v-for="(h, i) in history.content" :key="i">
|
||||||
<el-image
|
<el-image
|
||||||
v-if="h.type === 'image_url'"
|
v-if="h.type === 'image_url'"
|
||||||
@ -398,6 +399,7 @@
|
|||||||
/>
|
/>
|
||||||
<span v-else>{{ h.text }}</span>
|
<span v-else>{{ h.text }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
</el-space>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span v-else>{{ history.content }}</span>
|
<span v-else>{{ history.content }}</span>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user