From a9faf74ffc22ee7c6f1cc73543dbd493289c101b Mon Sep 17 00:00:00 2001 From: unknown <1533540012@qq.com> Date: Wed, 18 Oct 2023 17:33:50 +0800 Subject: [PATCH] emmm --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index fd867ba..9f834c5 100644 --- a/src/index.js +++ b/src/index.js @@ -151,7 +151,7 @@ function mount(vnode, isSvg) { setDOMAttribute(node, key, props[key], isSvg) } } - + let childrenRef = props.children == null ? null : mount(props.children, isSvg) childrenRef && insertDom(node, childrenRef) return {