File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ declare interface Component {
6666 _isDestroyed: boolean;
6767 _isBeingDestroyed: boolean;
6868 _vnode: ?VNode; // self root node
69+ _staticTrees: ?Array< VNode > ; // v-once cached trees
6970 _hasHookEvent: boolean;
7071 _provided: ?Object;
7172
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { isUpdatingChildComponent } from './lifecycle'
1717
1818export function initRender ( vm : Component ) {
1919 vm . _vnode = null // the root of the child tree
20+ vm . _staticTrees = null // v-once cached trees
2021 const options = vm . $options
2122 const parentVnode = vm . $vnode = options . _parentVnode // the placeholder node in parent tree
2223 const renderContext = parentVnode && parentVnode . context
You can’t perform that action at this time.
0 commit comments