-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
no param support in getRouteBaseName #539
Comments
Can you explain your use case in details? There might be another way to achieve what you want to achieve. |
For example, I have two routes '/en/page1' 、'/en/page2'. When i enter page1, i want to get page2's routeName. In old version, i get it by use app.getRouteBaseName(route[page2]), but In latest version, getRouteBaseName abort param, only return current route's routeName. In my case, i get page1's name not page2 |
|
|
Crap, you're right. I will fix that. Sorry for talking nonsense. :) |
Version
v6.3.1
Reproduction link
https://jsbin.com/?html,js,output
Steps to reproduce
app.getRouteBaseName(route.to)
What is expected ?
give the name where route will going
What is actually happening?
give the name of current route
Additional comments?
My old project use getRouteBaseName to get route's name ,not only get current route name
The text was updated successfully, but these errors were encountered: