2.1.0-publish

This commit is contained in:
ahjung
2025-08-12 17:28:18 +08:00
parent 00247ee7b9
commit ffca3ed61f
7 changed files with 32 additions and 10 deletions

7
types/config.d.ts vendored
View File

@@ -52,8 +52,13 @@ export interface GlobConfig {
shortName: string;
urlPrefix?: string;
uploadUrl?: string;
useMock: boolean;
fileUrl?: string;
}
export interface LocalConfig {
// 生产环境开启 mock
useMock: boolean;
// 打印 mock 请求信息
loggerMock: boolean;
}

1
types/global.d.ts vendored
View File

@@ -66,6 +66,7 @@ declare global {
declare interface ViteEnv {
VITE_PORT: number;
VITE_USE_MOCK: boolean;
VITE_LOGGER_MOCK: boolean;
VITE_PUBLIC_PATH: string;
VITE_GLOB_APP_TITLE: string;
VITE_GLOB_APP_SHORT_NAME: string;