From 28179be2881f3a6af9975136c013b0f0ca2298df Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 19 Nov 2025 09:50:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/utils/common/index.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/utils/common/index.js b/src/utils/common/index.js
index c796b03..9e1f8ff 100644
--- a/src/utils/common/index.js
+++ b/src/utils/common/index.js
@@ -49,8 +49,7 @@
}
}
export function getEnvObj() {
- const envName = JSON.parse(__APP_ENV__?.UNI_CUSTOM_DEFINE||null)?.ENV_NAME
- return configEnv[envName || import.meta.env.VITE_APP_ENV] || {}
+ return configEnv[__APP_ENV__?.ENV_NAME] || {}
}
export function getWebViewUrl (targetUrl, otherParams) {
const userStore = useUserStore()
--
Gitblit v1.9.3