feat: 完善环境标识配置

This commit was merged in pull request #1.
This commit is contained in:
湛兮
2026-06-05 15:35:51 +08:00
parent 4de5f42dc8
commit 6a67c53e9b
10 changed files with 84 additions and 27 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
# 预发布也需要生产环境的行为
# 预发布当前按 develop/测试环境标识
# https://cn.vitejs.dev/guide/env-and-mode.html#modes
# NODE_ENV = development
VITE_APP_ENV = "develop"
VITE_APP_ENV_LABEL = "测试环境"
VITE_PUBLIC_PATH = /
# 预发布环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数"