This commit is contained in:
Taric Xin
2022-04-25 14:59:45 +08:00
parent 6ec8a831eb
commit 2da8a0bcc4
5 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import { Environment } from '@delon/theme';
export const environment = {
production: true,
useHash: true,
isHiddenLog: true,
api: {
baseUrl: 'https://tms-api-dev.eascs.com',
refreshTokenEnabled: false,

View File

@ -3,6 +3,7 @@ import { Environment } from '@delon/theme';
export const environment = {
production: true,
useHash: true,
isHiddenLog: true,
api: {
baseUrl: 'https://tms-api-test.eascs.com',
refreshTokenEnabled: false,

View File

@ -3,6 +3,7 @@ import { Environment } from '@delon/theme';
export const environment = {
production: true,
useHash: true,
isHiddenLog: true,
api: {
baseUrl: 'https://tms-api.yunduoxing.com',
refreshTokenEnabled: true,

View File

@ -10,6 +10,7 @@ import * as MOCKDATA from '../../_mock';
export const environment = {
production: false,
useHash: true,
isHiddenLog: false,
api: {
baseUrl: './',
refreshTokenEnabled: true,

View File

@ -12,6 +12,11 @@ if (environment.production) {
enableProdMode();
}
if (environment.isHiddenLog) {
// 取消系统信息输出
window.console.log = () => {};
}
platformBrowserDynamic()
.bootstrapModule(AppModule, {
defaultEncapsulation: ViewEncapsulation.Emulated,