摘要:
// import Lesson17 from './class/lesson17';// console.log(Lesson17.A); //123 阅读全文
posted @ 2017-11-01 13:58
abcByme
阅读(780)
评论(0)
推荐(0)
摘要:
修饰器是一个函数,用来修改类的行为(注意:1、函数 2、修改行为 3、对类进行操作){ //修饰器函数定义 target:类本身,name名称,descriptor描述 let readonly = function(target, name, descriptor) { descriptor.writable = false; //只读 re... 阅读全文
posted @ 2017-11-01 13:38
abcByme
阅读(386)
评论(0)
推荐(0)

浙公网安备 33010602011771号