diff --git a/public/docs/ts/latest/glossary.jade b/public/docs/ts/latest/glossary.jade index 86fbeb5220..0f54a7000a 100644 --- a/public/docs/ts/latest/glossary.jade +++ b/public/docs/ts/latest/glossary.jade @@ -627,7 +627,7 @@ include _util-fns * `ngOnChanges` - called when an [input](#input)/[output](#output) binding values change * `ngOnChanges` - 在[输入input](#input)/[输出output](#output)绑定的值变化的时候调用。 * `ngOnInit` - after the first `ngOnChanges` - * `ngOnInit` - 在第一个`ngOnChanges`后调用。 + * `ngOnInit` - 在第一轮`ngOnChanges`完成后调用。 * `ngDoCheck` - developer's custom change detection * `ngDoCheck` - 开发者自定义变化监测器。 * `ngAfterContentInit` - after component content initialized diff --git a/public/docs/ts/latest/guide/lifecycle-hooks.jade b/public/docs/ts/latest/guide/lifecycle-hooks.jade index c2b5f3a1e8..148e984451 100644 --- a/public/docs/ts/latest/guide/lifecycle-hooks.jade +++ b/public/docs/ts/latest/guide/lifecycle-hooks.jade @@ -258,7 +258,8 @@ table(width="100%") :marked after the first `ngOnChanges`. - 在首次`ngOnChanges`之后调用。 + 在第一轮`ngOnChanges`完成之后调用。 + (译注:也就是说当每个输入属性的值都被触发了一次ngOnChanges之后才会调用ngOnInit,此时所有输入属性都已经有了正确的初始绑定值) tr(style=top) td ngDoCheck td