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: 持久化标签页没效果 #5244

Closed
5 tasks done
CupOfBread opened this issue Dec 26, 2024 · 1 comment
Closed
5 tasks done

Bug: 持久化标签页没效果 #5244

CupOfBread opened this issue Dec 26, 2024 · 1 comment

Comments

@CupOfBread
Copy link

CupOfBread commented Dec 26, 2024

Version

Vben Admin V5

Describe the bug?

持久化标签页功能默认是打开的,但是在标签之间切换的时候,还是会重新加载整个页面。

Reproduction

持久化标签页功能默认是打开的,但是在标签之间切换的时候,还是会重新加载整个页面。

tabbar: {
   keepAlive: true,
   persist: true,
 },

没有效果
image

System Info

windows chrome

Relevant log output

No response

Validations

@mynetfan
Copy link
Collaborator

看文档。
需要配置路由的keepAlive,并且还要求路由name与页面组件的name一致。
如果你仍然觉得是BUG,请重新打开此Issue

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

2 participants