feat: 长文本组件的调试

This commit is contained in:
2026-03-26 00:10:53 +08:00
parent 00c58d47b9
commit e72531cfb7
4 changed files with 100 additions and 33 deletions

View File

@@ -0,0 +1,18 @@
<template>
<ChatMarkdown :text="answerText" />
</template>
<script setup>
import ChatMarkdown from "../index/components/chat/ChatMarkdown/index.vue";
const props = defineProps({
answerText: {
type: String,
default: "",
}
});
onLoad(({ message = "" }) => {
props.answerText = message;
});
</script>