index.tsx 234 Bytes
import { Tree, type TreeProps } from 'antd';

/** 项目统一树组件。老系统的 ztree 节点字段(id / label / children)由调用方映射成 fieldNames。 */
export const UTree = Tree;
export type UTreeProps = TreeProps;