feat(环境配置): 添加环境配置文件标识并优化权限检查代码

在环境配置文件中添加 VITE_APP_CONFIG_FILE 变量标识当前环境配置文件
同时在权限检查模块中优化代码格式和逻辑结构
This commit is contained in:
2025-11-15 23:15:29 +08:00
parent feb53ffad8
commit 55a048725b
6 changed files with 32 additions and 23 deletions

View File

@@ -1,2 +1,3 @@
VITE_APP_CONFIG_FILE=.env.prod
VITE_APP_ENV=生产环境
VITE_API_URL=http://localhost:8080