mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-04 13:42:27 +08:00
2.1.0-publish
This commit is contained in:
7
types/config.d.ts
vendored
7
types/config.d.ts
vendored
@@ -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
1
types/global.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user