fix:增加md样式文件

This commit is contained in:
Gsh
2025-07-07 21:12:35 +08:00
parent 6f1eb1f4b9
commit f58e079741
2 changed files with 712 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ import { useChatStore } from '@/stores/modules/chat';
import { useFilesStore } from '@/stores/modules/files';
import { useModelStore } from '@/stores/modules/model';
import { useUserStore } from '@/stores/modules/user';
import '@/styles/github-markdown.css';
type MessageItem = BubbleProps & {
key: number;
@@ -284,7 +285,7 @@ function markdownContent(item: any) {
</template>
<!-- 自定义气泡内容 -->
<template #content="{ item }">
<XMarkdown :markdown="markdownContent(item)" />
<XMarkdown class="markdown-body" :markdown="markdownContent(item)" />
</template>
</BubbleList>