feat: init

This commit is contained in:
ex_zhangwenlei@exiot.cmcc
2024-01-02 21:50:01 +08:00
commit df02b23b2d
69 changed files with 7333 additions and 0 deletions

18
src/types/table.ts Normal file
View File

@@ -0,0 +1,18 @@
export interface TableItemType {
prop: string;
label: string;
width: number;
image?: boolean;
actions?: actionsItemType[];
aligen?: string;
formatter?: ItemFuncType;
getType?: ItemFuncType;
}
interface ItemFuncType {
(row: any): any;
}
interface actionsItemType {
name: string;
func: any;
type?: any;
}

6
src/types/user.ts Normal file
View File

@@ -0,0 +1,6 @@
// 用户的类型声明文件
export interface IUser {
name: string;
age: number;
}
// ...