Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		| @ -13,7 +13,7 @@ const GLOBAL_THIRD_MODULES: Array<Type<any>> = []; | |||||||
| // #endregion | // #endregion | ||||||
|  |  | ||||||
| // #region Http Interceptors | // #region Http Interceptors | ||||||
| import { HTTP_INTERCEPTORS } from '@angular/common/http'; | import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | ||||||
|  |  | ||||||
| import { BusinessInterceptor, DefaultInterceptor } from '@core'; | import { BusinessInterceptor, DefaultInterceptor } from '@core'; | ||||||
|  |  | ||||||
| @ -38,7 +38,7 @@ const APPINIT_PROVIDES = [ | |||||||
|     multi: true |     multi: true | ||||||
|   }, |   }, | ||||||
|   { provide: DEFAULT_CURRENCY_CODE, useValue: '¥' }, |   { provide: DEFAULT_CURRENCY_CODE, useValue: '¥' }, | ||||||
|   { provide: RouteReuseStrategy, useClass: ReuseTabStrategy, deps: [ReuseTabService] }, |   { provide: RouteReuseStrategy, useClass: ReuseTabStrategy, deps: [ReuseTabService] } | ||||||
| ]; | ]; | ||||||
| // #endregion | // #endregion | ||||||
|  |  | ||||||
| @ -51,7 +51,7 @@ import { ReuseTabService, ReuseTabStrategy } from '@delon/abc/reuse-tab'; | |||||||
|  |  | ||||||
| @NgModule({ | @NgModule({ | ||||||
|   declarations: [AppComponent], |   declarations: [AppComponent], | ||||||
|   imports: [BrowserModule, BrowserAnimationsModule, CoreModule, RoutesModule, RouterModule, ...GLOBAL_THIRD_MODULES], |   imports: [BrowserModule, BrowserAnimationsModule, HttpClientModule, CoreModule, RoutesModule, RouterModule, ...GLOBAL_THIRD_MODULES], | ||||||
|   providers: [...INTERCEPTOR_PROVIDES, ...APPINIT_PROVIDES], |   providers: [...INTERCEPTOR_PROVIDES, ...APPINIT_PROVIDES], | ||||||
|   bootstrap: [AppComponent] |   bootstrap: [AppComponent] | ||||||
| }) | }) | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ import { RouterModule } from '@angular/router'; | |||||||
|  |  | ||||||
| @NgModule({ | @NgModule({ | ||||||
|   declarations: [], |   declarations: [], | ||||||
|   imports: [CommonModule, FormsModule, RouterModule, HttpClientModule, ReactiveFormsModule], |   imports: [CommonModule, FormsModule, RouterModule, ReactiveFormsModule], | ||||||
|   exports: [CommonModule, FormsModule, HttpClientModule, ReactiveFormsModule, RouterModule] |   exports: [CommonModule, FormsModule, ReactiveFormsModule, RouterModule] | ||||||
| }) | }) | ||||||
| export class BasicModuleModule {} | export class BasicModuleModule {} | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user