From 11e0635d0d907755a9e86493e8eaf49612f20c28 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Thu, 10 May 2018 13:53:04 +0800 Subject: [PATCH] fix: sync to 6.0(WIP) --- aio/content/guide/reactive-forms.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/aio/content/guide/reactive-forms.md b/aio/content/guide/reactive-forms.md index 37ebfedd4f..ba23db2769 100644 --- a/aio/content/guide/reactive-forms.md +++ b/aio/content/guide/reactive-forms.md @@ -1336,10 +1336,9 @@ A refresh button clears the hero list and the current selected hero before refet "刷新"按钮会清除英雄列表和当前选中的英雄,然后重新获取英雄列表。 -Notice that `hero-list.component.ts` imports `Observable` and `finally` while `hero.service.ts` imports `Observable`, `of`, -and `delay` from `rxjs`. +Notice that `hero-list.component.ts` imports `Observable` and the `finalize` operator, while `hero.service.ts` imports `Observable`, `of`, and the `delay` operator from `rxjs`. -注意,`hero-list.component.ts` 从 `rxjs` 中导入了 `Observable` 和 `finally`,而 `hero.service.ts` 导入了 `Observable`、`of` 和 `delay`。 +注意,`hero-list.component.ts` 从 `rxjs` 中导入了 `Observable` 和 `finalize`,而 `hero.service.ts` 导入了 `Observable`、`of` 和 `delay` 操作符。 The remaining `HeroListComponent` and `HeroService` implementation details are beyond the scope of this tutorial. However, the techniques involved are covered elsewhere in the documentation, including the _Tour of Heroes_ @@ -1535,9 +1534,9 @@ Replace the address `FormGroup` definition with a `secretLairs` `FormArray` def -In `hero-detail.component.html` change `formArrayName="address"` to `formArrayName="secretLairs"`. +In `hero-detail.component.html` change `formGroupName="address"` to `formArrayName="secretLairs"`. -在 `hero-detail.component.html` 中 把 `formArrayName="address"` 改为 `formArrayName="secretLairs"`。 +在 `hero-detail.component.html` 中 把 `formGroupName="address"` 改为 `formArrayName="secretLairs"`。