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

当过渡动画设置为'out-in',缓存会失效 #65

Open
BryanAdamss opened this issue Nov 13, 2018 · 0 comments
Open

当过渡动画设置为'out-in',缓存会失效 #65

BryanAdamss opened this issue Nov 13, 2018 · 0 comments

Comments

@BryanAdamss
Copy link

BryanAdamss commented Nov 13, 2018

当transition组件的过渡模式设置为'out-in'时,缓存会失效,组件会重新创建!

<template>
  <transition :name="transitionName"
              mode="out-in">
    <navigation>
      <router-view />
    </navigation>
  </transition>
</template>
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