Fix:修复导入md时,如果存在嵌套的无序列表是解析异常的问题

This commit is contained in:
wanglin2 2025-04-20 10:55:15 +08:00
parent abb332fd46
commit eb61e24746

View File

@ -1,6 +1,7 @@
import { fromMarkdown } from 'mdast-util-from-markdown'
const getNodeText = node => {
if (node.type === 'list') return ''
let textStr = ''
;(node.children || []).forEach(item => {