From 28026cfc84fe89e3345dcf839aad58b43c3ed32c Mon Sep 17 00:00:00 2001 From: GilBoom Date: Wed, 24 Oct 2018 14:46:29 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20router.md=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 06e01bb46f..897b91cab6 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -4917,7 +4917,7 @@ Add a `confirm()` method to the `DialogService` to prompt the user to confirm th It returns an `Observable` that *resolves* when the user eventually decides what to do: either to discard changes and navigate away (`true`) or to preserve the pending changes and stay in the crisis editor (`false`). -它返回[promise](http://exploringjs.com/es6/ch_promises.html),当用户最终决定了如何去做时,它就会被*解析* —— 或者决定放弃更改直接导航离开(`true`),或者保留未完成的修改,留在危机编辑器中(`false`)。 +它返回*observable*,当用户最终决定了如何去做时,它就会被*解析* —— 或者决定放弃更改直接导航离开(`true`),或者保留未完成的修改,留在危机编辑器中(`false`)。 {@a CanDeactivate}