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

docs(zh): translate the last paragraph of named_routes to Chinese #2141

Merged
merged 3 commits into from
Feb 17, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions packages/docs/zh/guide/essentials/named-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,4 @@ router.push({ name: 'user', params: { username: 'erina' } })

完整的例子在[这里](https://github.com/vuejs/vue-router/blob/dev/examples/named-routes/app.js).

<!-- TODO: translation -->

Each name **must be unique** across all routes. If you add the same name to multiple routes, the router will only keep the last one. You can read more about this [in the Dynamic Routing](../advanced/dynamic-routing.md#Removing-routes) section.
任何`name`在所有路由中都**必须是唯一**的。如果为多条路由添加相同的`name`,路由器将只保留最后一条。您可以在[动态路由](../advanced/dynamic-routing.md#Removing-routes)部分阅读更多相关内容。
Jinjiang marked this conversation as resolved.
Show resolved Hide resolved