We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3661b4e commit dde29d7Copy full SHA for dde29d7
src/core/vdom/patch.js
@@ -143,7 +143,7 @@ export function createPatchFunction (backend) {
143
if (isDef(i = data.hook) && isDef(i = i.destroy)) i(vnode)
144
for (i = 0; i < cbs.destroy.length; ++i) cbs.destroy[i](vnode)
145
}
146
- if (isDef(i = vnode.child)) {
+ if (isDef(i = vnode.child) && !data.keepAlive) {
147
invokeDestroyHook(i._vnode)
148
149
if (isDef(i = vnode.children)) {
0 commit comments