mirror of https://github.com/vuejs/vue.git
work around flow :(
This commit is contained in:
parent
9d43bff27e
commit
9bbf7230a5
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue