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

虚拟路由跳转页面,子应用的缓存不能保持 #1333

Closed
xiaozhao8 opened this issue Aug 14, 2024 · 4 comments
Closed

虚拟路由跳转页面,子应用的缓存不能保持 #1333

xiaozhao8 opened this issue Aug 14, 2024 · 4 comments
Labels
common common question

Comments

@xiaozhao8
Copy link

image

@xiaozhao8
Copy link
Author

xiaozhao8 commented Aug 14, 2024

这个是子应用里边加的缓存,用虚拟路由跳转后做不到,路由缓存保持

@xiaozhao8
Copy link
Author

子应用中的keepalive路由缓存
子应用单独跑缓存没问题
就是在基座中,用虚拟路由,操作子应用跳转
他页面每次会重新渲染

@bailicangdu bailicangdu added the common common question label Aug 14, 2024
@bailicangdu
Copy link
Member

bailicangdu commented Aug 14, 2024

顶部tab属于子应用的吗,检查一下点击tab是否触发了子应用卸载

@xiaozhao8
Copy link
Author

已解决,感谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common common question
Projects
None yet
Development

No branches or pull requests

2 participants