code: function(value, type, event) {
          var target = event.target;
  
          if (target.tagName === 'I') {
            target = target.parentElement.parentElement;
          } else if (target.tagName === 'SPAN') {
            target = target.parentElement;
          }
  
          var code = target.previousElementSibling.children[0];
          code.innerHTML = this['showResult' + type](value);
        }
docs: 刷新