Skip to content

Commit

Permalink
chore: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhonghe committed Nov 8, 2022
1 parent 16cd4e5 commit b8891ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/runtime-core/src/components/KeepAlive.ts
Expand Up @@ -31,7 +31,6 @@ import {
invokeArrayFns
} from '@vue/shared'
import { watch } from '../apiWatch'
import { hmrDirtyComponents } from '../hmr'
import {
RendererInternals,
queuePostRenderEffect,
Expand Down Expand Up @@ -281,8 +280,7 @@ const KeepAliveImpl: ComponentOptions = {

if (
(include && (!name || !matches(include, name))) ||
(exclude && name && matches(exclude, name)) ||
(__DEV__ && hmrDirtyComponents.has(comp))
(exclude && name && matches(exclude, name))
) {
current = vnode
return rawVNode
Expand Down

0 comments on commit b8891ec

Please sign in to comment.