Skip to content

Commit b8891ec

Browse files
committed
chore: revert
1 parent 16cd4e5 commit b8891ec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/runtime-core/src/components/KeepAlive.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import {
3131
invokeArrayFns
3232
} from '@vue/shared'
3333
import { watch } from '../apiWatch'
34-
import { hmrDirtyComponents } from '../hmr'
3534
import {
3635
RendererInternals,
3736
queuePostRenderEffect,
@@ -281,8 +280,7 @@ const KeepAliveImpl: ComponentOptions = {
281280

282281
if (
283282
(include && (!name || !matches(include, name))) ||
284-
(exclude && name && matches(exclude, name)) ||
285-
(__DEV__ && hmrDirtyComponents.has(comp))
283+
(exclude && name && matches(exclude, name))
286284
) {
287285
current = vnode
288286
return rawVNode

0 commit comments

Comments
 (0)