diff --git a/src/platforms/web/runtime/components/transition-group.js b/src/platforms/web/runtime/components/transition-group.js index 084f394cd0d..1a76aeec0ed 100644 --- a/src/platforms/web/runtime/components/transition-group.js +++ b/src/platforms/web/runtime/components/transition-group.js @@ -76,19 +76,15 @@ export default { if (prevChildren) { const kept: Array = [] - const removed: Array = [] for (let i = 0; i < prevChildren.length; i++) { const c: VNode = prevChildren[i] c.data.transition = transitionData c.data.pos = c.elm.getBoundingClientRect() if (map[c.key]) { kept.push(c) - } else { - removed.push(c) } } this.kept = h(tag, null, kept) - this.removed = removed } return h(tag, null, children)