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

当路由的name与组件name不同时keepAlive无效 #19

Open
faruzanCN opened this issue Apr 22, 2024 · 0 comments
Open

当路由的name与组件name不同时keepAlive无效 #19

faruzanCN opened this issue Apr 22, 2024 · 0 comments

Comments

@faruzanCN
Copy link

当路由的name与组件name不同时keepAlive无效,之所以出现这种情况是因为需要大量复用组件,但是呢name与path必须有层级对应关系,导致name不能与组件name相同,希望path能脱离与name必须有层级关系,看是否能增加一个属性配置来代替name而与path的对应关系

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