Browse Source

fix transition appear check (again)

dev
Evan You 8 years ago
parent
commit
2388bdb162
  1. 3
      src/platforms/web/runtime/modules/transition.js

3
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
}

Loading…
Cancel
Save