From 2388bdb1623eb5e37c9551f7f41e4c8888fb0972 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sun, 24 Jul 2016 22:04:00 -0400 Subject: [PATCH] fix transition appear check (again) --- src/platforms/web/runtime/modules/transition.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platforms/web/runtime/modules/transition.js b/src/platforms/web/runtime/modules/transition.js index 1576c520..5f0576c1 100644 --- a/src/platforms/web/runtime/modules/transition.js +++ b/src/platforms/web/runtime/modules/transition.js @@ -46,7 +46,8 @@ export function enter (vnode: VNodeWithData) { appearCancelled } = data - const isAppear = !vnode.context._isMounted + const context = vnode.context.$parent || vnode.context + const isAppear = !context._isMounted if (isAppear && !appear && appear !== '') { return }