From fbe00c695aa8bd2aeaa395ea8a4f710f99d651d6 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 20 Dec 2025 11:38:29 +0800
Subject: [PATCH] feat: 批次id
---
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