From 19da605eae4251f4b5e737a1ee49ef64391ffa06 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Fri, 27 Jul 2018 08:15:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BF=BB=E8=AF=91=E5=BE=AE=E8=B0=83=20(?= =?UTF-8?q?#322)=20fix:=20=E5=A2=9E=E8=A1=A5=E9=B8=A3=E8=B0=A2=E6=B8=85?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/translations/cn/about.md | 12 +++++++++++- aio/content/tutorial/toh-pt4.md | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/aio/content/translations/cn/about.md b/aio/content/translations/cn/about.md index 6c3eaac904..50279b065c 100644 --- a/aio/content/translations/cn/about.md +++ b/aio/content/translations/cn/about.md @@ -4,7 +4,7 @@ 本文档的两位译者汪志成和叶志敏是多年的好友。这次利用业余时间联手翻译,就是因为看好 Angular 的前景,希望帮助大家在这项技术上能跟国外同步前进。 ### 汪志成(雪狼) -《AngularJS 深度剖析与最佳实践》的作者之一,ThoughtWorks 高级咨询师,现任 GDE( Google 开发者专家)。崇尚“简单、专业、分享”。他从 1998 年开始做商业软件开发,拥有超过 19 年的从业经验,至今仍热衷于编程。 +《AngularJS 深度剖析与最佳实践》的作者之一,ThoughtWorks 高级咨询师,现任 GDE( Google 开发者专家)。崇尚“简单、专业、分享”。他从 1998 年开始做商业软件开发,拥有超过 20 年的从业经验,至今仍热衷于编程。 虽然一直在做编程工作,不过他最热衷的却是国学,特别是儒学与诗词。孟子曰:“得天下英才而教育之,三乐也”,愿践行之。 @@ -95,6 +95,16 @@ Angular 和 Grails 开发高校[教务管理系统](http://www.github.com/jwgl) - zeed-w-beez(来自 Github) - ChristinaLy(来自 Github) - luguokong(来自 Github) +- liuz430524(来自 Github) +- likang(来自 Github) +- kchanlee(来自 Github) +- hidoos(来自 Github) +- chrisy17(来自 Github) +- fattypiggy(来自 Github) +- NAIVEddd(来自 Github) +- ppjjzz(来自 Github) +- jerrystarry(来自 Github) +- Eve-1995(来自 Github) - 另外还有一些做好事不留名的活雷锋 想让你的名字也出现在这里吗?请提供[反馈、纠错](https://github.com/angular/angular-cn/issues)。 diff --git a/aio/content/tutorial/toh-pt4.md b/aio/content/tutorial/toh-pt4.md index 73bccb5a1a..44f26b1c24 100644 --- a/aio/content/tutorial/toh-pt4.md +++ b/aio/content/tutorial/toh-pt4.md @@ -263,7 +263,7 @@ It certainly shouldn't call a function that makes HTTP requests to a remote serv Instead, call `getHeroes()` inside the [*ngOnInit lifecycle hook*](guide/lifecycle-hooks) and let Angular call `ngOnInit` at an appropriate time _after_ constructing a `HeroesComponent` instance. -你应该改为在 [*ngOnInit 生命周期钩子*](guide/lifecycle-hooks)中调用 `getHeroes()`,并且等 Angular 构造出 `HeroesComponent` 的实例之后,找个恰当的时机调用 `ngOnInit`。 +而是选择在 ngOnInit 生命周期钩子中调用 getHeroes(),之后交由 Angular 处理,它会在构造出 HeroesComponent 的实例之后的某个合适的时机调用 ngOnInit。