feat: 对话的调整
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
<template>
|
||||
<div class="max-w-[75%] flex flex-col">
|
||||
<slot name="header"></slot>
|
||||
<div v-if="!msg.messageContentList" class="flex flex-row text-sm text-gray-700">
|
||||
<div v-if="!msg.messageContentList || msg.messageContentList.length === 0"
|
||||
class="flex flex-row text-sm text-gray-700">
|
||||
<div v-html="compiledMarkdown"></div>
|
||||
<ChatLoading v-if="msg.isLoading" />
|
||||
</div>
|
||||
|
||||
<div v-else class="flex flex-col p-2 mb-2 text-sm text-gray-700 bg-[#f7f9fc] rounded-md"
|
||||
v-for="(_, index) in msg.messageContentList" :key="index">
|
||||
<div v-else class="flex flex-col p-2 mb-2 text-sm text-gray-700 bg-[#f7f9fc] rounded-md"
|
||||
v-for="(_, index) in msg.messageContentList" :key="index">
|
||||
<div v-html="compiledAt(index)"></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user