菜单布局等初步完成

This commit is contained in:
2025-10-08 14:11:54 +08:00
parent d9ea2e842b
commit 4bc587ecf5
29 changed files with 4472 additions and 11977 deletions

View File

@@ -1,5 +1,17 @@
/// <reference types="vite/client" />
// Vite 环境变量类型定义
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string
readonly VITE_APP_TITLE: string
readonly VITE_APP_MODE?: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}
// 兼容旧的 process.env 写法(如果代码中有使用)
declare global {
namespace NodeJS {
interface ProcessEnv {