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

[BUG]<keep-alive>缓存不生效 #4878

Open
baiiiii opened this issue May 6, 2024 · 1 comment
Open

[BUG]<keep-alive>缓存不生效 #4878

baiiiii opened this issue May 6, 2024 · 1 comment
Assignees

Comments

@baiiiii
Copy link

baiiiii commented May 6, 2024

联系方式

No response

1Panel 版本

v1.10.6-lts

问题描述

frontend/src/layout/components/AppMain.vue 中的keep-alive缓存不生效

重现步骤

keep-alive的include所需要的name是组件的name,并不是路由的name
需要给组件添加name,例如

image

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

@ssongliu
Copy link
Collaborator

ssongliu commented May 6, 2024

感谢反馈,后续版本优化

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

No branches or pull requests

3 participants