code: function jsonDelData(data, keypath, delimiter = '.') {
      let tmp = data;
      keypath = keypath || [];
      typeof keypath == 'string' && (keypath = keypath.split(delimiter));
  
      if (!(data && keypath.length)) return tmp;
      keypath.slice(0, -1).map(val => {
          if (val && tmp && val in tmp) {
              tmp = tmp[val];
          }
      });
      if (tmp && keypath && keypath.length) {
          delete tmp[keypath.slice(-1)];
      }
  
      return data;
  }
docs: 从一个属性路径，删除json的属性
  @param {Object}      data        要判断的是否存在属性值的JSON
  @param {string}      keypath     属性路径
  @param {string}      delimiter   属性路径的分隔符，默认: "."
  @return {Object}     data
  @method jsonInData
  @example
  <pre>
  let data = { "l1": {  "l2": { "k1": 1, "k2": 2 }  } };
  console.log( jsonDelData( data, 'l1.l2.k1') ); //  { "l1": {  "l2": { "k2": 2 }  } }
  console.log( jsonDelData( data, 'l1.l2.k3') ); //  { "l1": {  "l2": { "k2": 2 }  } }
  </pre>