src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue
@@ -1,11 +1,13 @@ <template> <div v-html="md.render(data)"></div> <div class="markdown-it" v-html="md.render(data)"></div> </template> <script setup lang="ts"> import { md } from '../../libs/markdown'; import { chatComProps } from '../common'; const props = defineProps(chatComProps); const props = defineProps({ data:String }); </script> <style scoped lang="scss"></style>