feat:调整加载样式

This commit is contained in:
zoujing
2026-01-21 16:08:36 +08:00
parent acc3d24f78
commit b8cdf530fc
5 changed files with 81 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
<template>
<div class="text-sm text-gray-700" v-html="compiledMarkdown">
<div class="text-sm text-gray-700 flex flex-row">
<div v-html="compiledMarkdown"></div>
<ChatLoading v-if="msg.isLoading" />
</div>
</template>
@@ -9,6 +11,7 @@ import { computed } from 'vue'
import MarkdownIt from 'markdown-it'
import hljs from 'highlight.js'
import 'highlight.js/styles/github.css'
import ChatLoading from './ChatLoading.vue';
interface Props {
msg: ChatMessage