sphawkcn 19f76a8222 "it" 并非指 "product" 属性
原文:`Define the product property and inject the ActivatedRoute into the constructor by adding it as an argument within the constructor's parentheses.`
如果翻译为:”定义 product 属性,并把它加入构造函数括号中作为参数,以便把 ActivatedRoute 注入到构造函数中。“,则语意上是把 product 属性加入构造函数。实际不是,实际是把 `route` 加入构造函数中。
原文中的 `it` 不是指代 `product`,而是指代路由对象。
2020-03-29 22:02:59 +08:00
2020-03-29 22:02:59 +08:00
2020-01-27 09:31:22 -08:00
2020-01-13 07:21:43 -08:00

CircleCI BrowserStack Status Join the chat at https://gitter.im/angular/angular npm version

Angular

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.

Quickstart

Get started in 5 minutes.

Changelog

Learn about the latest improvements.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.

Description
No description provided
Readme MIT 210 MiB
Languages
TypeScript 68.6%
HTML 12.8%
JavaScript 8.4%
Pug 7%
Starlark 1.4%
Other 1.7%