Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

过渡动画的时间问题 #34

Open
woshiguabi opened this issue Oct 19, 2016 · 1 comment
Open

过渡动画的时间问题 #34

woshiguabi opened this issue Oct 19, 2016 · 1 comment

Comments

@woshiguabi
Copy link

点击链接时,在go方法最后会调用一次leave去删除上一个页面,但是这个leave使用的是leaveTimeout而不是enterTimeout,如果我的enterTimeout和leaveTimeout不同的话会引起切换时间错误的问题。
应该修改成根据isBack来判断使用哪个timeout,如果是前进动作就使用enterTimeout。

@woshiguabi
Copy link
Author

woshiguabi commented Oct 19, 2016

顺便希望在bind方法里面把router实例当做参数传进去,这样在bind里面一些ajax就可以方便地取到params了

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

No branches or pull requests

1 participant