mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
- 将Promise回调改为async/await语法 - 优化验证码获取和显示逻辑 - 移除不必要的防抖处理 - 简化登录成功后的跳转逻辑 - 添加验证码加载状态防止重复请求 - 改进验证码输入框的样式和交互
22 lines
420 B
Bash
22 lines
420 B
Bash
# 环境
|
|
VITE_APP_ENV=development
|
|
|
|
# 项目名称
|
|
VITE_APP_TITLE=fastapiadmin
|
|
|
|
# 网络请求公用地址
|
|
# VITE_API_BASE_URL=http://localhost:8001
|
|
VITE_API_BASE_URL=http://service.fastapiadmin.com
|
|
|
|
# 代理前缀
|
|
VITE_APP_BASE_API=/api/v1
|
|
|
|
# 应用端口
|
|
VITE_APP_PORT=4096
|
|
|
|
# 超时时间
|
|
VITE_TIMEOUT=10000
|
|
|
|
|
|
# WebSocket 服务器的 URL,不配置默认关闭 WebSocket
|
|
#VITE_APP_WS_ENDPOINT= ws://localhost:4096/ws |