Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: replace existing route in addRoute show warning msg#3519

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
qiuzuhui wants to merge2 commits intovuejs:dev
base:dev
Choose a base branch
Loading
fromqiuzuhui:dev

Conversation

qiuzuhui
Copy link

fix: addRoute is not work when there is already route with same name. replaced existing route in addRoute and show warning msg

hendrikheil, ducmerida, klwfwdk, ptq124, and timhere reacted with thumbs up emoji
@hendrikheil
Copy link

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 👍

ducmerida and 9-lives reacted with thumbs up emoji

@9-lives
Copy link

没有人 merge 吗?

}
pathMap[record.path] = record
Copy link

@rwaltenbergrwaltenbergJul 29, 2021
edited
Loading

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.

fhenrich33, hymore, 772778995, Cheaterman, timhere, and jrmi reacted with thumbs up emoji
@772778995
Copy link

Niubitli!!

@Cheaterman
Copy link

VueJS please fix

@sonicwang1989
Copy link

+1

1 similar comment
@panruza
Copy link

+1

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rwaltenbergrwaltenbergrwaltenberg requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

addRoute() with name couldn't replace the existing rule with the same name.
8 participants
@qiuzuhui@hendrikheil@9-lives@772778995@Cheaterman@sonicwang1989@panruza@rwaltenberg

[8]ページ先頭

©2009-2025 Movatter.jp