Update global.d.ts

This commit is contained in:
TimSpan 2024-11-15 15:44:41 +08:00
parent 0604beef06
commit 258c0b579c
1 changed files with 4 additions and 9 deletions

View File

@ -1,3 +1,5 @@
// global.d.ts不能出现 export 关键字否则这个文件会失效
declare const __APP_ENV: ImportMetaEnv; declare const __APP_ENV: ImportMetaEnv;
class TreeNodeVo<T, E = Record<string, any>> { class TreeNodeVo<T, E = Record<string, any>> {
value: T; value: T;
@ -18,7 +20,7 @@ interface JsonResult<T> {
} }
export interface SecurityUnitPagerQueryParams { interface SecurityUnitPagerQueryParams {
/** 名称 **/ /** 名称 **/
name?: string; name?: string;
/** 社会编码 **/ /** 社会编码 **/
@ -34,14 +36,7 @@ interface BaseEnum<T> {
value: T; value: T;
label: string label: string
} }
class TreeNodeVo<T, E = Record<string, any>> {
value: T;
parentValue: T;
label: string;
orderIndex?: number;
children?: TreeNodeVo<T>[]
extData?: E;
}
interface Grid { interface Grid {
//栅格占据的列数 //栅格占据的列数
span?: number; span?: number;