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

This commit is contained in:
2025-09-22 23:32:03 +08:00
parent dfaed6188b
commit 96746df7c9
2 changed files with 5 additions and 2 deletions

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 !== '智念';