mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 20:17:52 +08:00
fix transition appear check for nested components
This commit is contained in:
parent
2288f3eab7
commit
3e0cda6685
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user