feat: 端切换的时候切换环境

This commit is contained in:
zoujing committed 2025-09-22 23:32:03 +08:00
1 parent dfaed6188b
commit 96746df7c9
2 files changed
+5 -2

No files matched your search

+3
View File
@@ -42,3 +42,6 @@ export const CLIENT_CONFIGS = processConfigs(rawConfigs);
export const getCurrentConfig = () => CLIENT_CONFIGS.tianmu;
export const clientId = getCurrentConfig().clientId;
export const appId = getCurrentConfig().appId;
// 环境配置 - 智念客户端使用测试环境,其他客户端使用生产环境
export const isProd = getCurrentConfig().name !== '智念';