App API 基址改为 VITE_API_BASE 可配置 #101
Labels
No labels
area/app
area/back
area/deploy
area/front
area/gis
size/L
size/M
size/S
type/chore
type/docs
type/feat
type/fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jiaoce/xm_txys2_app#101
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目标
App H5/真机可通过环境变量配置 API 基址,避免写死
/jeecg-boot。目标仓:app范围
src/api/base.ts、http.ts、upload.tssrc/env.d.ts.env.example/.env.development/.env.productionREADME.md(API 基址说明)不做
验收
API_BASE来自VITE_API_BASE,缺省/jeecg-bootnpm run type-check通过相关文档