text: function decorateArmour(target, key, descriptor) {
    const method = descriptor.value;
    let moreDef = 100;
    let ret;
    descriptor.value = (...args) => {
      args[0] += moreDef;
      ret = method.apply(target, args);
      return ret;
    }
    return descriptor;
  }
  
  function controller(target, key, descriptor) {
    console.log(target)
    console.log(key)
    console.log(descriptor)
  }
  
  @controller('abc')
  class Man {
    constructor(def = 2, atk = 3, hp = 3) {
      this.init(def, atk, hp);
    }
  
    @decorateArmour
    init(def, atk, hp) {
      this.def = def; // 防御值
      this.atk = atk; // 攻击力
      this.hp = hp; // 血量
    }
    toString() {
      return `防御力:${this.def},攻击力:${this.atk},血量:${this.hp}`;
    }
  }
  
  var tony = new Man();
  
  console.log(`当前状态 ===> ${tony}`);
  