feat: 长文本组件的调试
This commit is contained in:
18
src/pages/long-answer/index.vue
Normal file
18
src/pages/long-answer/index.vue
Normal 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>
|
||||
Reference in New Issue
Block a user