fix(#13): GIS H5 默认 API 改为同源 /jeecg-boot #14

Merged
Lijianping merged 2 commits from fix/13-gis-h5-relative-api into main 2026-11-03 09:29:02 +08:00
Collaborator

变更摘要

  • 默认 VITE_API_BASE / FALLBACK 改为 /jeecg-boot(相对路径)
  • 登录页 placeholder 同步说明

自测步骤

  • npm run build 产物中无 192.168.2.204
  • 浏览器同源 + Nginx 反代 /jeecg-boot/ 可登录
  • Electron 仍可由 main / 登录页使用绝对地址

文档影响

  • 工作区 docs/三端发布打包.md §7 已改(不在本仓)

关联 Issue: #13

## 变更摘要 - 默认 `VITE_API_BASE` / FALLBACK 改为 `/jeecg-boot`(相对路径) - 登录页 placeholder 同步说明 ## 自测步骤 - [ ] `npm run build` 产物中无 `192.168.2.204` - [ ] 浏览器同源 + Nginx 反代 `/jeecg-boot/` 可登录 - [ ] Electron 仍可由 main / 登录页使用绝对地址 ## 文档影响 - 工作区 `docs/三端发布打包.md` §7 已改(不在本仓) 关联 Issue: #13
fix(#13): GIS H5 默认 API 改为同源 /jeecg-boot
All checks were successful
CI / gis-build (pull_request) Successful in 1m57s
1b721e472e
浏览器版与 PC/App 一致走相对路径,不再写死局域网绝对地址。

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(#13): 登录页服务地址默认折叠,默认同源 /jeecg-boot
All checks were successful
CI / gis-build (pull_request) Successful in 55s
d4060a0d47
不必再手填;仅高级选项可改。

Co-authored-by: Cursor <cursoragent@cursor.com>
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_gis!14
No description provided.