From 08fcc710d0a2acb185b3477d72fe32aff6f2e29a Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 01 Dec 2025 16:23:03 +0800
Subject: [PATCH] feat:增加ws连接状态

---
 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