提交 3d131d4b 编写于 作者: X xjh22222228

fix: nodeName

上级 6529b025
......@@ -33,7 +33,7 @@ export function parseBookmark(htmlStr: string) {
function findA(node: Element) {
let a = node.firstElementChild
if (!a && a.nodeName === 'a') return
if (!a && a.nodeName !== 'a') return
hasNoCate = true
const name = a.textContent
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册