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

当存在 tag标签路由时,第一次路由跳转缓存失效, #16

Open
zyh0yh opened this issue Aug 22, 2023 · 0 comments
Open

当存在 tag标签路由时,第一次路由跳转缓存失效, #16

zyh0yh opened this issue Aug 22, 2023 · 0 comments

Comments

@zyh0yh
Copy link

zyh0yh commented Aug 22, 2023

image

代码:
<router-view v-slot="{ Component }"> <stack-keep-alive v-slot="{ key }" :singleton="['/MyCaseList']"> <component :is="Component" :key="key" /> </stack-keep-alive> </router-view>
结果:
第一跳转缓存失效,第二次以及之后缓存生效

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