code: function() {
          this.main.disabled = false;
          this.$switchDom.attr('class', defaultClass + ' ' + (this.main.checked ? checkedClass : ''));
          this.$switchContainer.removeClass(defaultContainerDisableClass);
      }
docs: 激活