gerson
2024-09-29 e2e2f224c5d439e3128ea95ac2cd7847b66641f6
src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue
@@ -1,15 +1,13 @@
<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';
import { chatComProps } from '../common';
const props = defineProps({
   data:String
});
</script>
<style scoped lang="scss"></style>