-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
fix: replace existing route in addRoute show warning msg #3519
base: dev
Are you sure you want to change the base?
Conversation
Would love to see this merged. We currently have to use a fork to get the documented behavior, which is not ideal Tested this and can confirm it works as expected 👍 |
没有人 merge 吗? |
} | ||
pathMap[record.path] = record |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is undocumented behavior. The documentation states that only if the route has a name and the name matches with an existing route, it should be overwritten.
Niubitli!! |
VueJS please fix |
+1 |
1 similar comment
+1 |
fix: addRoute is not work when there is already route with same name. replaced existing route in addRoute and show warning msg