修正ts类型
This commit is contained in:
10
src/types/global.d.ts
vendored
10
src/types/global.d.ts
vendored
@@ -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; // 新增此字段
|
||||
/**
|
||||
* 默认布局
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user