fix transition appear check for nested components

This commit is contained in:
Evan You 2016-07-24 16:13:01 -04:00
parent 2288f3eab7
commit 3e0cda6685

View File

@ -46,7 +46,7 @@ export function enter (vnode: VNodeWithData) {
appearCancelled
} = data
const isAppear = !vnode.context.$root._isMounted
const isAppear = !vnode.context._isMounted
if (isAppear && !appear && appear !== '') {
return
}