From 25126f8e9dd5f45b881b101cf78d2cd5e0486c63 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 17 Nov 2025 10:23:18 +0800
Subject: [PATCH] Merge branch 'master' into 腾讯语音通话
---
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