KELEN / blog-comment

0 stars 0 forks source link

ES6装饰器的应用 #27

Open KELEN opened 1 year ago

KELEN commented 1 year ago

https://www.kelen.cc/posts/5c8c9b55dc23fa05f95045ae

装饰器(Decorator)函数,是用来修改类的行为,一个装饰器函数有三个参数,target 装饰的目标对象,name 类的成员,属性or方法