Skip to content

Commit

Permalink
fix transition appear check (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 25, 2016
1 parent 2c6930a commit 2388bdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platforms/web/runtime/modules/transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2388bdb

Please sign in to comment.