浏览代码

Fix typo in 'component' (#3978)

AlexandreBonneau 9 年之前
父节点
当前提交
1a8720d6ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/vdom/vnode.js

+ 1 - 1
src/core/vdom/vnode.js

@@ -12,7 +12,7 @@ export default class VNode {
   key: string | number | void;
   componentOptions: VNodeComponentOptions | void;
   child: Component | void; // component instance
-  parent: VNode | void; // compoennt placeholder node
+  parent: VNode | void; // component placeholder node
   raw: boolean; // contains raw HTML? (server only)
   isStatic: boolean; // hoisted static node
   isRootInsert: boolean; // necessary for enter transition check