Skip to content

Conversation

danielhe
Copy link
Contributor

我在项目中用了这个directive, 发现一个问题,就是directive作用的组件如果设置transition的话,会触发上面的钩子“如afterEnter”,这在一些情况下并不是我们想要的,看了vue源码后发现实际调用是这个:function multiBefore(target, withTransition), 他带一个withTransition,所以新增一个no-animation的modifiers以供设置

@Coffcer Coffcer merged commit 7d8750f into Coffcer:master Oct 27, 2016
@Coffcer
Copy link
Owner

Coffcer commented Oct 27, 2016

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants