From: Quanzhi Fu <82163913+fqzz2000@users.noreply.github.com> Date: Sat, 17 Feb 2024 17:46:18 +0000 (-0500) Subject: docs(zh): translate the last paragraph of named_routes to Chinese (#2141) X-Git-Tag: v4.3.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14503fc3824cd57d9e80c151937b81175ed9dee;p=thirdparty%2Fvuejs%2Frouter.git docs(zh): translate the last paragraph of named_routes to Chinese (#2141) * 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 Co-authored-by: Jinjiang --- diff --git a/packages/docs/zh/guide/essentials/named-routes.md b/packages/docs/zh/guide/essentials/named-routes.md index 81bb0b60..9bd05c4e 100644 --- a/packages/docs/zh/guide/essentials/named-routes.md +++ b/packages/docs/zh/guide/essentials/named-routes.md @@ -40,6 +40,4 @@ router.push({ name: 'user', params: { username: 'erina' } }) 完整的例子在[这里](https://github.com/vuejs/vue-router/blob/dev/examples/named-routes/app.js). - - -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)章节了解更多。