|
|
@@ -17,6 +17,7 @@ import { isUpdatingChildComponent } from './lifecycle'
|
|
|
|
|
|
export function initRender (vm: Component) {
|
|
|
vm._vnode = null // the root of the child tree
|
|
|
+ vm._staticTrees = null // v-once cached trees
|
|
|
const options = vm.$options
|
|
|
const parentVnode = vm.$vnode = options._parentVnode // the placeholder node in parent tree
|
|
|
const renderContext = parentVnode && parentVnode.context
|