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

vue3前端项目页签刷新功能,在使用两次刷新功能后,页面会空白 #7772

Closed
mysticdcat opened this issue Feb 6, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@mysticdcat
Copy link

版本号:3.7.0
问题描述:页签刷新功能,在使用两次刷新功能后,页面会空白

前提: 组件在src/layouts/page/index文件里开启了keep-alive时会出现这个问题(必须开启keep-alive才会复现这个问题)

错误截图:

Image

Image

Image

第一次点击刷新没问题,第二次点击刷新页面会空白

@mysticdcat mysticdcat added the bug Something isn't working label Feb 6, 2025
@zhangdaiscott
Copy link
Member

zy

@jeecgDeveloper
Copy link

你这种改法是缓存了所有页面,框架中有一个页面不能被缓存(src/views/sys/redirect/index.vue 需要排除这个)。

Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants