message: fix: normalize child nodes in some cases when resolving the model nodes
diff: @@ -20,9 +20,13 @@ export function findModelNodes (vnode) {
  return [vnode];
  }
  - if (Array.isArray(vnode.children)) {
  - return vnode.children.reduce((nodes, node) => {
  - const candidates = [...findModelNodes(node)];
  + const children = Array.isArray(vnode) ? vnode : vnode.children;
  + if (!Array.isArray(children)) {
  + return [];
  + }
  +
  + return children.reduce((nodes, node) => {
  + const candidates = findModelNodes(node);
  if (candidates.length) {
  nodes.push(...candidates);
  }
  @@ -31,9 +35,6 @@ export function findModelNodes (vnode) {
  }, []);
  }
  - return [];
  -}
  -
  // Resolves v-model config if exists.
  export function findModelConfig (vnode) {
  if (!vnode.componentOptions) return null;
  