Skip to content

Commit

Permalink
docs(zh): translate the last paragraph of named_routes to Chinese (#2141
Browse files Browse the repository at this point in the history
)

* translate the last paragraph of named routes docs

* docs(zh): translate last paragraph of named-routes to Chinese

*  translate the last paragraph of `named-routes` in `zh`

* Apply suggestions from code review

---------

Co-authored-by: quanzhi <qf37@duke.edu>
Co-authored-by: Jinjiang <zhaojinjiang@me.com>
  • Loading branch information
3 people authored Feb 17, 2024
1 parent 04b50e5 commit d14503f
Showing 1 changed file with 1 addition and 3 deletions.
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.
所有路由的命名**都必须是唯一的**。如果为多条路由添加相同的命名,路由器只会保留最后那一条。你可以在[动态路由](../advanced/dynamic-routing.md#Removing-routes)章节了解更多。

0 comments on commit d14503f

Please sign in to comment.