This commit is contained in:
Taric Xin
2022-01-13 15:10:02 +08:00
parent 6d8cf857fb
commit 074093760e
5 changed files with 73 additions and 9 deletions

View File

@ -2,7 +2,7 @@
/* eslint-disable import/no-duplicates */
import { HttpClientModule } from '@angular/common/http';
import { default as ngLang } from '@angular/common/locales/zh';
import { APP_INITIALIZER, LOCALE_ID, NgModule, Type } from '@angular/core';
import { APP_INITIALIZER, DEFAULT_CURRENCY_CODE, LOCALE_ID, NgModule, Type } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { SimpleInterceptor } from '@delon/auth';
@ -40,7 +40,8 @@ const APPINIT_PROVIDES = [
useFactory: StartupServiceFactory,
deps: [StartupService],
multi: true
}
},
{ provide: DEFAULT_CURRENCY_CODE, useValue: '¥' }
];
// #endregion