diff --git a/src/core/vdom/helpers/normalize-children.js b/src/core/vdom/helpers/normalize-children.js index 6c09a096a5d..bc93d5433b8 100644 --- a/src/core/vdom/helpers/normalize-children.js +++ b/src/core/vdom/helpers/normalize-children.js @@ -1,7 +1,7 @@ /* @flow */ import VNode, { createTextVNode } from 'core/vdom/vnode' -import { isDef, isUndef, isPrimitive } from 'shared/util' +import { isDef, isUndef, isPrimitive, isObject } from 'shared/util' // The template compiler attempts to minimize the need for normalization by // statically analyzing the template at compile time. @@ -45,7 +45,11 @@ function normalizeArrayChildren (children: any, nestedIndex?: string): Array