refactor: 集中管理配置常量并优化样式一致性
This commit is contained in:
+15
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user