mirror of https://github.com/vuejs/vue.git
chore: fix comment typo
This commit is contained in:
parent
dd21eacc33
commit
70fb68b0b0
|
|
@ -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 */)
|
||||
|
|
|
|||
Loading…
Reference in New Issue