Closed sphawkcn closed 4 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it!
and we'll verify it.
ℹ️ Googlers: Go here for more info.
请签署 cla,并回到这里回复 I signed it!
I signed it!
@googlebot I signed it!
原文:
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
,而是指代路由对象。注意: