feat: 初始化
This commit is contained in:
19
types/components.ts
Normal file
19
types/components.ts
Normal file
@ -0,0 +1,19 @@
|
||||
interface OptionItem {
|
||||
label: string;
|
||||
value: any;
|
||||
}
|
||||
export interface ColumnItem {
|
||||
label: string;
|
||||
dataIndex: string;
|
||||
dataType: 'text' | 'select';
|
||||
valuEnum?: OptionItem[];
|
||||
hideInSearch?: boolean;
|
||||
hideInTable?: boolean;
|
||||
span?: number;
|
||||
width?: number;
|
||||
}
|
||||
export interface ReportTableProps {
|
||||
title?: string;
|
||||
columns?: ColumnItem[];
|
||||
}
|
||||
export interface TableConfig {}
|
Reference in New Issue
Block a user