From 884e6ea31e1a296fc03f9a8c65127e13ea50240a Mon Sep 17 00:00:00 2001 From: milk_IQ Date: Tue, 6 Aug 2019 11:44:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=BF=BB=E8=AF=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原文与翻译内容不一致,admin-routing.module.ts 写成了 crisis-center.routes.ts --- 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 6c965f41c7..0573092cdf 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -4622,7 +4622,7 @@ It simply logs to console and `returns` true immediately, allowing navigation to Next, open `admin-routing.module.ts `, import the `AuthGuard` class, and update the admin route with a `canActivate` guard property that references it: -接下来,打开 `crisis-center.routes.ts`,导入 `AuthGuard` 类,修改管理路由并通过 `CanActivate()` 守卫来引用 `AuthGuard`: +接下来,打开 `admin-routing.module.ts`,导入 `AuthGuard` 类,修改管理路由并通过 `CanActivate()` 守卫来引用 `AuthGuard`: