code: function getParents(item: Object) {
      let parents = [];
  
      if (!item.parent) {
        return parents;
      }
  
      parents.push(item.parent);
      parents = parents.concat(getParents(item.parent));
  
      return parents;
    }
docs: 获取一个节点的所有父辈节点
  @param {*} item
  @param {*} uncheckableItemValues