From 3ef8e36d831ff20a241294b096a70f729752e480 Mon Sep 17 00:00:00 2001 From: yangyin <18723093654@163.com> Date: 星期四, 05 十二月 2024 10:40:14 +0800 Subject: [PATCH] 修改分享链接 --- src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue b/src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue index e5c9988..ae7dff7 100644 --- a/src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue +++ b/src/components/chat/chatComponents/normalTextCom/NormalTextCom.vue @@ -1,14 +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({ - data: { - type: String, - }, + data:String }); </script> <style scoped lang="scss"></style> -- Gitblit v1.9.3