feat: 端切换的时候切换环境
This commit is contained in:
@@ -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 !== '智念';
|
||||
|
||||
Reference in New Issue
Block a user