-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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: 关于动态路由的params和query的问题 #5434
Labels
Comments
哥, 最后有处理方案吗? |
我想到的就是用路由的name来当做菜单和标签页的key值, 不过我看了源码里基本都是用fullPath或者path, 这么改的话改动很大, 暂时没有去尝试, 不知道有没有别的好的方法 |
13 tasks
@miaowwwww @cypherchen 我在解决其他问题时,也遇到这个问题,我提交了一个PR,一起讨论下。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Vben Admin V5
Describe the bug?
希望可以用路由的name来判断当前菜单和标签页的高亮和生成, 用fullPath和path的话, 同一个路由的params和query的值变化时, 都会生成新的标签页, 或者是高亮状态和页面刷新的异常
Reproduction
定义和我一样的路由, 页面用两个按钮调用下面函数就可以复现
Relevant log output
Validations
The text was updated successfully, but these errors were encountered: