feat(#101): App API 基址改为 VITE_API_BASE 可配置 #102

Merged
Lijianping merged 1 commit from feat/101-api-base into main 2026-11-05 11:00:15 +08:00
Collaborator

变更摘要

  • 新增 src/api/base.ts,http/upload 改用 VITE_API_BASE
  • 补充 .env* 与 README 说明;真机绝对 BASE 时静态资源 URL 可正确拼接

Closes #101

自测步骤

  1. npm run type-check 通过
  2. H5 默认 /jeecg-boot 可登录

文档影响

README 补充环境变量说明;无 API 契约变更

## 变更摘要 - 新增 `src/api/base.ts`,`http`/`upload` 改用 `VITE_API_BASE` - 补充 `.env*` 与 README 说明;真机绝对 BASE 时静态资源 URL 可正确拼接 Closes #101 ## 自测步骤 1. `npm run type-check` 通过 2. H5 默认 `/jeecg-boot` 可登录 ## 文档影响 README 补充环境变量说明;无 API 契约变更
feat(#101): App API 基址改为 VITE_API_BASE 可配置
All checks were successful
CI / app-typecheck (pull_request) Successful in 21s
e7aa48c9cf
Co-authored-by: Cursor <cursoragent@cursor.com>
Lijianping deleted branch feat/101-api-base 2026-11-05 11:00:15 +08:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jiaoce/xm_txys2_app!102
No description provided.