修正ts类型

This commit is contained in:
Zy
2026-05-13 15:28:25 +08:00
parent 1b738c0f4d
commit a1750bc67b
114 changed files with 2346 additions and 613 deletions

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

@@ -17,10 +17,14 @@ declare global {
}
/** 地图 */
interface Window {
// 高德全局对象
_AMapSecurityConfig?: {
securityJsCode: string;
};
// 天地图全局对象
T: any;
}
/**
* 弹窗属性
*/
@@ -65,7 +69,7 @@ declare global {
declare interface DictDataOption {
label: string;
value: string;
elTagType?: ElTagType;
elTagType?: ElTagType | '' | 'default';
elTagClass?: string;
}
@@ -95,6 +99,10 @@ declare global {
pageSize: number;
}
declare interface LayoutSetting {
/**
* 是否显示顶部导航
*/
topNav: boolean; // 新增此字段
/**
* 默认布局
*/