export interface IDataSourceItem { label?: ''; value?: any; children?: any[]; } export interface INodeItem { key: string; duplicateKey?: string; map?: { label: string; value: any; }[]; children?: INodeItem[]; } export interface ITreeDataSource { dataSource: INodeItem[]; selectedKey: string; }