فهرست منبع

chore: fix comment typo

Evan You 8 سال پیش
والد
کامیت
70fb68b0b0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/core/instance/lifecycle.js

+ 1 - 1
src/core/instance/lifecycle.js

@@ -193,7 +193,7 @@ export function mountComponent (
     }
   }
 
-  // we set this to vm._watcher inside the wathcer's constructor
+  // we set this to vm._watcher inside the watcher's constructor
   // since the watcher's initial patch may call $forceUpdate (e.g. inside child
   // component's mounted hook), which relies on vm._watcher being already defined
   new Watcher(vm, updateComponent, noop, null, true /* isRenderWatcher */)