refactor: ♻️ 项目重构(临时提交)

Former-commit-id: 14e64324f7556c095c38ad289690367cdac0ec56
This commit is contained in:
郝先瑞
2023-11-16 22:46:28 +08:00
parent c1725e0b09
commit 12c78f96d7
34 changed files with 2129 additions and 399 deletions

55
src/types/global.d.ts vendored
View File

@@ -1,55 +0,0 @@
declare global {
/**
* 分页查询参数
*/
interface PageQuery {
pageNum: number;
pageSize: number;
}
/**
* 分页响应对象
*/
interface PageResult<T> {
/**
* 数据列表
*/
list: T;
/**
* 数据总数
*/
total: number;
}
/**
* 弹窗属性
*/
interface DialogOption {
/**
* 弹窗标题
*/
title?: string;
/**
* 是否显示
*/
visible: boolean;
}
/**
* 组件数据源
*/
interface OptionType {
/**
* 值
*/
value: string | number;
/**
* 文本
*/
label: string;
/**
* 子列表
*/
children?: OptionType[];
}
}
export {};