/** * 方便索引查找的行信息 */ import { EditingData } from '@/lib/types/cell'; export interface IndexRow { id: string; // 只有树形结构才有 parentId?: string; expand?: boolean; // TODO 非标准结构 hasChildren: boolean; treePath?: string[]; childrenIds?: string[]; index: number; top: number; height: number; } export interface RowData { otherData: Record; fieldData: Record; } export interface RowSelectionStatus { display: boolean; disabled: boolean; selected: boolean; }