refactor: 集中管理配置常量并优化样式一致性

This commit is contained in:
zhang1106
2026-03-06 14:39:52 +08:00
parent 0cd0107008
commit 885ac47fd2
19 changed files with 348 additions and 64 deletions
+15 -1
View File
@@ -1,4 +1,18 @@
# 用户空闲超时配置(毫秒)
# ==============================================
# API 配置
# ==============================================
# API 请求超时时间(毫秒)
VITE_API_TIMEOUT=30000
# API 基础路径
VITE_API_BASE_URL=/api
# ==============================================
# 用户空闲超时配置
# ==============================================
# 用户空闲超时时间(毫秒)
# 默认30分钟 = 30 * 60 * 1000 = 1800000
VITE_IDLE_TIMEOUT=1800000