debug 日志修改
This commit is contained in:
parent
c2d5996f53
commit
35130d8c01
@ -5,8 +5,7 @@
|
||||
// 环境类型
|
||||
export const ENV_TYPES = {
|
||||
DEVELOPMENT: 'development',
|
||||
TEST: 'test',
|
||||
PRODUCTION: 'production'
|
||||
TEST: 'test'
|
||||
}
|
||||
|
||||
// 获取当前环境
|
||||
@ -62,8 +61,10 @@ export function logEnvInfo() {
|
||||
const config = getEnvConfig()
|
||||
console.group('🔧 Environment Configuration')
|
||||
console.log('📦 Environment:', config.env)
|
||||
console.log('🌐 API Base URL:', config.apiBaseUrl)
|
||||
console.log('📱 App Title:', config.appTitle)
|
||||
console.log('🐛 Debug Mode:', config.isDebugMode)
|
||||
if (config.isDebugMode) {
|
||||
console.log('🐛 Debug Mode:', config.isDebugMode)
|
||||
console.log('🌐 API Base URL:', config.apiBaseUrl)
|
||||
}
|
||||
console.groupEnd()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user