diff --git a/.env.development b/.env.development index 9cf069a..03e2369 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,6 @@ -# 开发环境 -VITE_PORT = 5173 -VITE_API_BASE_URL = http://localhost:3000 -VITE_API_PREFIX = /api +# 开发环境配置 +# 基础API地址 +VITE_API_BASE_URL=http://cpms.op.nps.yunvip123.cn/cpms + +# 是否开启本地调试 +LOCAL_DEBUG=true diff --git a/.env.production b/.env.production index dc54b4f..b80cb74 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,5 @@ # 生产环境 -VITE_API_BASE_URL = https://api.cpms.example.com -VITE_API_PREFIX = /api +VITE_API_BASE_URL = https://cpmsapi.yunvip123.com + +# 是否开启本地调试 +LOCAL_DEBUG=false diff --git a/.env.test b/.env.test index b3621a6..889ad12 100644 --- a/.env.test +++ b/.env.test @@ -1,3 +1,6 @@ -# 测试环境 -VITE_API_BASE_URL = https://test-api.cpms.example.com -VITE_API_PREFIX = /api +# 测试环境配置 +# 基础API地址 +VITE_API_BASE_URL=http://cpms.op.nps.yunvip123.cn/cpms + +# 是否开启本地调试 +LOCAL_DEBUG=false \ No newline at end of file diff --git a/.gitignore b/.gitignore index 715094c..2b3c593 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Logs -logs +/logs *.log npm-debug.log* yarn-debug.log* @@ -40,3 +40,7 @@ coverage .cache .temp .tmp + +# Easy LESS 误生成的编译产物(本项目为 Vue PC 端,样式源文件为 .less,由 Vite 编译) +*.wxss +*.module.css diff --git a/index.html b/index.html index d3cfca5..7267ac8 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,17 @@ -
- - - - -