Skip to content

Commit d14503f

Browse files
fqzz2000quanzhiJinjiang
authored
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 <[email protected]> Co-authored-by: Jinjiang <[email protected]>
1 parent 04b50e5 commit d14503f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/docs/zh/guide/essentials/named-routes.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,4 @@ router.push({ name: 'user', params: { username: 'erina' } })
4040

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

43-
<!-- TODO: translation -->
44-
45-
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.
43+
所有路由的命名**都必须是唯一的**。如果为多条路由添加相同的命名,路由器只会保留最后那一条。你可以在[动态路由](../advanced/dynamic-routing.md#Removing-routes)章节了解更多。

0 commit comments

Comments
 (0)