fix:增加md样式文件
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user