提交 81e35824 编写于 作者: Q qiang

fix: flatVNode

上级 f4878e09
......@@ -10,6 +10,8 @@ export function flatVNode(nodes: any): VNode[] {
} else {
array.push(vnode)
}
} else if (Array.isArray(vnode)) {
array.push(...flatVNode(vnode))
}
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册