refactor: 自动导入修改和项目重构优化
Former-commit-id: 100ab2e0092d96b17146163759aef897e5c14fbd
This commit is contained in:
23
src/types/global.d.ts
vendored
Normal file
23
src/types/global.d.ts
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
declare global {
|
||||
interface PageQuery {
|
||||
pageNum: number;
|
||||
pageSize: number;
|
||||
}
|
||||
|
||||
interface PageResult<T> {
|
||||
list: T;
|
||||
total: number;
|
||||
}
|
||||
type DialogType = {
|
||||
title?: string;
|
||||
visible: boolean;
|
||||
};
|
||||
|
||||
type OptionType = {
|
||||
value: string;
|
||||
label: string;
|
||||
checked?: boolean;
|
||||
children?: OptionType[];
|
||||
};
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user