From c628ef0240c876ade1d3b8fd5a51142f1d2cdfcc Mon Sep 17 00:00:00 2001 From: lin Date: Fri, 18 Aug 2017 17:33:40 +0800 Subject: [PATCH] translate mistake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit english part: The `:id` in the second route current translation: 第一个路由中的:id --- aio/content/guide/router.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index db34c9a900..7765424ea9 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -182,7 +182,7 @@ is the value of the `id` parameter. The corresponding `HeroDetailComponent` will use that value to find and present the hero whose `id` is 42. You'll learn more about route parameters later in this guide. -第一个路由中的`:id`是一个路由参数的令牌(Token)。比如`/hero/42`这个URL中,“42”就是`id`参数的值。 +第二个路由中的`:id`是一个路由参数的令牌(Token)。比如`/hero/42`这个URL中,“42”就是`id`参数的值。 此URL对应的`HeroDetailComponent`组件将据此查找和展现`id`为42的英雄。 在本章中稍后的部分,我们将会学习关于路由参数的更多知识。