• 根据子节点id查找所有父节点的id

    Parameters

    • treeData: TreeNode[]

      树结构数据

    • nodeId: string | number

      子节点id

    • Optional config: {
          [key: string]: string;
      }

      字段映射配置

      • [key: string]: string

    Returns string[] | number[]

    返回所有父节点id数组

Generated using TypeDoc