houzhongjian
2025-05-29 3880399bef4144fa15264f470a0a51034c0253c9
src/components/MarkdownView/index.vue
@@ -39,8 +39,11 @@
/** 保留换行符 */
const formatContent = (text) => {
  if (text) {
  return text.replace(/\n/g, '<br>')
}
  return text
}
/** 初始化 **/
onMounted(async () => {