feat: 引入了markdown

This commit is contained in:
2025-07-22 23:12:47 +08:00
parent bad3b2987d
commit 17f4f0fb8b
12 changed files with 11065 additions and 3 deletions

View File

@@ -1,12 +1,15 @@
<template>
<view class="chat-ai">
<text>{{ text }}</text>
<!-- <text>{{ text }}</text> -->
<!-- <XMarkdown :markdown="text"/> -->
<ua-markdown :source="text" />
<slot></slot>
</view>
</template>
<script setup>
import { defineProps } from "vue";
defineProps({
text: {
type: String,