提交所有代码

This commit is contained in:
郭庆泰
2026-08-31 19:01:00 +08:00
parent f4d8bc1463
commit a14d95288c
53 changed files with 1356 additions and 286 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export default defineConfig(({ mode }) => {
// 开发 API 前缀 = /dev-api (Vite dev proxy), 生产 = /hg-api (nginx 反代)
const apiPath = env.VITE_APP_BASE_API || '/dev-api'
return {
// 生产部署在 nginx /hg/ 子路径下 (.env.production 设 VITE_BASE=/hg/), 开发默认 /
// 部署基路径: prod = / (.env.production), test = /hegui/ (.env.test), 开发默认 /
base: env.VITE_BASE || '/',
plugins: [
vue(),