根据 wudingli 的反馈修正了翻译
This commit is contained in:
parent
210b076594
commit
ac9e032b51
|
@ -402,7 +402,7 @@ p.
|
||||||
**@** symbol and invoking it with a metadata object, just above the class.
|
**@** symbol and invoking it with a metadata object, just above the class.
|
||||||
|
|
||||||
`Component`是一个*装饰器函数*,它接受一个*元数据对象*作为参数。
|
`Component`是一个*装饰器函数*,它接受一个*元数据对象*作为参数。
|
||||||
通过给这个函数加上**@**前缀,可以把这个函数加到组件类上,比如上面这个类。
|
通过给这个函数加上**@**前缀,并使用metadata对象调用它,可以把这个函数加到组件类上,比如上面这个类。
|
||||||
:marked
|
:marked
|
||||||
`@Component` is #{_a} *#{_decorator}* that allows us to associate *metadata* with the
|
`@Component` is #{_a} *#{_decorator}* that allows us to associate *metadata* with the
|
||||||
component class.
|
component class.
|
||||||
|
|
Loading…
Reference in New Issue