code: function evalConfig(configStr) {
      var configArr = configStr,
          config = {};
  
      configStr = configStr.replace(/\{/, '');
      configArr = configStr.split(',');
  
      configArr.forEach(function (item) {
          var index, key, value;
  
          index = item.indexOf(':');
          key = item.slice(0, index).replace(/['"]/g, '');
          value = item.slice(index + 1);
  
          key = key.trim();
          value = value.trim();
  
          try {
              value = eval('(function(){return ' + value + '})()');
              config[key] = value;
          } catch (_) {}
      });
  
      return config;
  }
docs: /*
  提取config中的配置，会忽略包含变量的配置，只提取纯字符串
  param{ String } config字符串
  return{ Object } 提取出来的配置