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

使用keep-alive组件缓存后,页面动画进出的顺序乱了 #30

Closed
ghost opened this issue May 10, 2018 · 3 comments
Closed

使用keep-alive组件缓存后,页面动画进出的顺序乱了 #30

ghost opened this issue May 10, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented May 10, 2018

使用keep-alive组件缓存后,页面动画进出的顺序乱了,怎么解决呢

@jaweii
Copy link
Owner

jaweii commented May 23, 2018

没有遇到过。能否描述详细?

@jaweii jaweii closed this as completed May 23, 2018
@ghost
Copy link
Author

ghost commented May 23, 2018

<keep-alive> <router-view v-transition/> </keep-alive>

有A,B,C页面,A页面中点击按钮跳转B,点击B中按钮跳转C,
其中vueg配置中前进动画为“fadeInRight” ,后退动画为“fadeInLeft”;

当我使用vue的keep-alive对组件进行缓存后。

A跳B页面,B跳C页面过程中,B跳C的前进动画变成了fadeInLeft。

@zz-33
Copy link

zz-33 commented Sep 6, 2018

在keep-alive的情况,尤其是多个页面keep-alive,完全不能用了这个插件:
A首页(keep-alive)-->B列表页(keep-alive)-->C详情页,A->B->C->B正常;
A->B->C->B-(反了)->A,A->B->C->B-(反了)->C

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

2 participants