feat: 新增 AI 辅助,重构登录页与环境变量命名

This commit is contained in:
Ray.Hao
2026-09-17 14:59:55 +08:00
parent 085764e6b2
commit 75cbee2fa6
37 changed files with 1854 additions and 989 deletions

8
types/axios.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
import "axios";
declare module "axios" {
interface AxiosRequestConfig {
// 匿名请求:不注入访问令牌,也不触发令牌续期
anonymous?: boolean;
}
}

9
types/env.d.ts vendored
View File

@@ -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 {