mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-04 13:42:27 +08:00
fix Bug Features CHANGELOG.ms
This commit is contained in:
51
types/config.d.ts
vendored
51
types/config.d.ts
vendored
@@ -1,10 +1,45 @@
|
||||
export interface ProjectSettingState {
|
||||
navMode: string,//导航模式
|
||||
navTheme: string,//导航风格
|
||||
headerSetting: object,//顶部设置
|
||||
showFooter: boolean, //页脚
|
||||
menuSetting: object, //多标签
|
||||
multiTabsSetting: object,//多标签
|
||||
crumbsSetting: object,//面包屑
|
||||
permissionMode: string//权限模式
|
||||
//导航模式
|
||||
navMode: string;
|
||||
//导航风格
|
||||
navTheme: string;
|
||||
//顶部设置
|
||||
headerSetting: object;
|
||||
//页脚
|
||||
showFooter: boolean;
|
||||
//菜单设置
|
||||
menuSetting: object;
|
||||
//多标签
|
||||
multiTabsSetting: object;
|
||||
//面包屑
|
||||
crumbsSetting: object;
|
||||
//权限模式
|
||||
permissionMode: string;
|
||||
}
|
||||
|
||||
export interface GlobConfig {
|
||||
title: string;
|
||||
apiUrl: string;
|
||||
shortName: string;
|
||||
urlPrefix?: string;
|
||||
uploadUrl?: string;
|
||||
prodMock: boolean;
|
||||
imgUrl?: string;
|
||||
}
|
||||
|
||||
export interface GlobEnvConfig {
|
||||
// 标题
|
||||
VITE_GLOB_APP_TITLE: string;
|
||||
// 接口地址
|
||||
VITE_GLOB_API_URL: string;
|
||||
// 接口前缀
|
||||
VITE_GLOB_API_URL_PREFIX?: string;
|
||||
// Project abbreviation
|
||||
VITE_GLOB_APP_SHORT_NAME: string;
|
||||
// 图片上传地址
|
||||
VITE_GLOB_UPLOAD_URL?: string;
|
||||
//图片前缀地址
|
||||
VITE_GLOB_IMG_URL?: string;
|
||||
//生产环境开启mock
|
||||
VITE_GLOB_PROD_MOCK: boolean;
|
||||
}
|
||||
|
||||
2
types/global.d.ts
vendored
2
types/global.d.ts
vendored
@@ -64,6 +64,8 @@ declare global {
|
||||
VITE_GLOB_APP_TITLE: string;
|
||||
VITE_GLOB_APP_SHORT_NAME: string;
|
||||
VITE_DROP_CONSOLE: boolean;
|
||||
VITE_GLOB_PROD_MOCK: boolean;
|
||||
VITE_GLOB_IMG_URL: string;
|
||||
}
|
||||
|
||||
declare function parseInt(s: string | number, radix?: number): number;
|
||||
|
||||
Reference in New Issue
Block a user