feat: 引入了markdown
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user