Files
app_03_pregnancy/frontend/.env.example
Karlcarlo 150dafc72f feat: 统一调试模块 debug.ts,VITE_DEBUG 环境变量控制调试面板显隐
- 新增 services/debug.ts: isDebug()/debugLog()/getDebugLogs()
- .env 中 VITE_DEBUG=true 开启调试,false 关闭
- LoginPage 使用 debugLog() 记录登录流程
- ProfilePage 通过 isDebug() 控制调试面板显隐
- .env.example 同步更新
2026-05-27 20:19:12 +08:00

5 lines
138 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
VITE_API_PREFIX=/app_03/api
VITE_UPLOADS_PREFIX=/uploads
# 调试模式:true=开启日志和调试面板,false=关闭
VITE_DEBUG=true