From d14503fc3824cd57d9e80c151937b81175ed9dee Mon Sep 17 00:00:00 2001 From: Quanzhi Fu <82163913+fqzz2000@users.noreply.github.com> Date: Sat, 17 Feb 2024 12:46:18 -0500 Subject: [PATCH] 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 --- packages/docs/zh/guide/essentials/named-routes.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/docs/zh/guide/essentials/named-routes.md b/packages/docs/zh/guide/essentials/named-routes.md index 81bb0b60f..9bd05c4e6 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)章节了解更多。