wujingjing
2024-07-15 d7a296b8d917abf820f0034e4b94fad302f72889
src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue
@@ -1,15 +1,14 @@
<template>
    <p>
        {{ data }}
    </p>
   <div v-html="md.render(data)"></div>
</template>
<script setup lang="ts">
const props = defineProps({
    data: {
        type: String,
    },
});
import { md } from '../../libs/markdown';
const props = defineProps({
   data: {
      type: String,
   },
});
</script>
<style scoped lang="scss"></style>