This commit is contained in:
Taric Xin
2022-01-17 13:27:36 +08:00
parent 33ba9a0ead
commit e72b3727af
7 changed files with 74 additions and 65 deletions

View File

@ -41,7 +41,8 @@ const APPINIT_PROVIDES = [
deps: [StartupService],
multi: true
},
{ provide: DEFAULT_CURRENCY_CODE, useValue: '¥' }
{ provide: DEFAULT_CURRENCY_CODE, useValue: '¥' },
AuthGuard
];
// #endregion
@ -54,6 +55,7 @@ import { SharedModule } from './shared/shared.module';
import { STWidgetModule } from './shared/widget/st-widget.module';
import { Observable } from 'rxjs';
import { registerLocaleData } from '@angular/common';
import { AuthGuard } from './core/guards/auth.guard';
@NgModule({
declarations: [AppComponent],