From 7961d4a5a2fa3f3e3ae8bf3df91797c46092231d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Wed, 15 Oct 2025 15:28:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BA=BF=E4=B8=8A=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=92=8C=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E7=9A=84?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/index.js b/utils/index.js index 1d0025da..4857ef97 100644 --- a/utils/index.js +++ b/utils/index.js @@ -55,7 +55,8 @@ const getCurrentEnvironment = () => { // 获取当前环境配置 const currentEnv = getCurrentEnvironment(); -const envConfig = environments[currentEnv] || environments.development; +console.log("🚀 ~ currentEnv:", currentEnv) +const envConfig = environments[currentEnv] || environments.production; export const RequsetUrl = envConfig.apiUrl; // 请求地址前缀 export const picUrl = envConfig.picUrl; // 图片地址前缀