Skip to content

Commit

Permalink
fix: [email protected]以上版本transition初始渲染过渡失效
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun79 committed Aug 27, 2019
1 parent 43431ab commit 8127234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/transitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function createTransition (name, mode) {
functional: true,
render (h, context) {
context.data = context.data || {};
context.data.props = { name };
context.data.props = { name, appear: true };
context.data.on = context.data.on || {};
if (!Object.isExtensible(context.data.on)) {
context.data.on = { ...context.data.on };
Expand Down

0 comments on commit 8127234

Please sign in to comment.