work around flow :(

This commit is contained in:
Evan You 2016-08-12 16:28:00 -05:00
parent 9d43bff27e
commit 9bbf7230a5
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ function insert (vnode: MountedComponentVNode) {
} }
} }
function destroy (vnode: MountedComponentVNode) { function destroy (vnode: any) {
if (!vnode.child._isDestroyed) { if (!vnode.child._isDestroyed) {
if (!vnode.data.keepAlive) { if (!vnode.data.keepAlive) {
vnode.child.$destroy() vnode.child.$destroy()