提交 66f14926 编写于 作者: richard_1015's avatar richard_1015

fix(form): form-item v-if submit event error

上级 346360b2
......@@ -44,7 +44,7 @@ export const component = {
prop: vnode.props?.['prop'],
rules: vnode.props?.['rules'] || []
});
} else if (vnode.children?.length) {
} else if (Array.isArray(vnode.children) && vnode.children?.length) {
task = task.concat(findFormItem(vnode.children as VNode[]));
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册