feat: 新增 AI 辅助,重构登录页与环境变量命名
This commit is contained in:
8
types/axios.d.ts
vendored
Normal file
8
types/axios.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import "axios";
|
||||
|
||||
declare module "axios" {
|
||||
interface AxiosRequestConfig {
|
||||
// 匿名请求:不注入访问令牌,也不触发令牌续期
|
||||
anonymous?: boolean;
|
||||
}
|
||||
}
|
||||
9
types/env.d.ts
vendored
9
types/env.d.ts
vendored
@@ -5,11 +5,12 @@
|
||||
*/
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_APP_PORT: string;
|
||||
readonly VITE_APP_BASE_API: string;
|
||||
readonly VITE_APP_API_URL: string;
|
||||
readonly VITE_API_BASE: string;
|
||||
readonly VITE_PROXY_TARGET: string;
|
||||
readonly VITE_APP_TITLE?: string;
|
||||
readonly VITE_APP_TENANT_ENABLED?: string;
|
||||
readonly VITE_MOCK_DEV_SERVER: string;
|
||||
readonly VITE_TENANT_ENABLED?: string;
|
||||
readonly VITE_AI_ENABLED?: string;
|
||||
readonly VITE_MOCK_ENABLED?: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
|
||||
Reference in New Issue
Block a user