diff --git a/docs/v2/data-driven/create-element.md b/docs/v2/data-driven/create-element.md index 4fa6c30..1876318 100644 --- a/docs/v2/data-driven/create-element.md +++ b/docs/v2/data-driven/create-element.md @@ -122,7 +122,7 @@ export function _createElement ( 由于 Virtual DOM 实际上是一个树状结构,每一个 VNode 可能会有若干个子节点,这些子节点应该也是 VNode 的类型。`_createElement` 接收的第 4 个参数 children 是任意类型的,因此我们需要把它们规范成 VNode 类型。 -这里根据 `normalizationType` 的不同,调用了 `normalizeChildren(children)` 和 `simpleNormalizeChildren(children)` 方法,它们的定义都在 `src/core/vdom/helpers/normalzie-children.js` 中: +这里根据 `normalizationType` 的不同,调用了 `normalizeChildren(children)` 和 `simpleNormalizeChildren(children)` 方法,它们的定义都在 `src/core/vdom/helpers/normalize-children.js` 中: ```js // The template compiler attempts to minimize the need for normalization by