Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 530d9ec

Browse files
authored
chore: correct the comments in KeepAlive.ts (#11005)
1 parent 07764fe commit 530d9ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,11 @@ const KeepAliveImpl: ComponentOptions = {
313313
rawVNode.ssContent = vnode
314314
}
315315
}
316-
// #1513 it's possible for the returned vnode to be cloned due to attr
316+
// #1511 it's possible for the returned vnode to be cloned due to attr
317317
// fallthrough or scopeId, so the vnode here may not be the final vnode
318318
// that is mounted. Instead of caching it directly, we store the pending
319319
// key and cache `instance.subTree` (the normalized vnode) in
320-
// beforeMount/beforeUpdate hooks.
320+
// mounted/updated hooks.
321321
pendingCacheKey = key
322322

323323
if (cachedVNode) {

0 commit comments

Comments
 (0)