6 changed files with 11292 additions and 142 deletions
@ -1,40 +1,40 @@
|
||||
import { BrowserModule } from '@angular/platform-browser'; |
||||
import { NgModule } from '@angular/core'; |
||||
import { AppRoutingModule } from './app-routing.module'; |
||||
import { AppComponent } from './app.component'; |
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
||||
import { PagesModule } from './pages/pages.module'; |
||||
import { FormsModule } from '@angular/forms'; |
||||
import { HttpClientModule } from '@angular/common/http'; |
||||
import { httpInterceptorProviders } from './http-interceptors/index' |
||||
import { CacheTokenService } from './service/cache-token.service' |
||||
import { NzNotificationModule } from 'ng-zorro-antd/notification'; |
||||
import { NzMessageModule } from 'ng-zorro-antd/message'; |
||||
import { TreeService } from './service/tree.service'; |
||||
import { RouteReuseStrategy } from '@angular/router'; |
||||
import { CustomReuseStrategy } from './CustomReuseStrategy'; |
||||
import { ConfigFormDataService } from './service/configFormData.service'; |
||||
import { registerLocaleData } from '@angular/common'; |
||||
import { NzModalModule } from 'ng-zorro-antd/modal'; |
||||
import zh from '@angular/common/locales/zh'; |
||||
registerLocaleData(zh); |
||||
@NgModule({ |
||||
declarations: [ |
||||
AppComponent |
||||
], |
||||
imports: [ |
||||
BrowserModule, |
||||
AppRoutingModule, |
||||
BrowserAnimationsModule, |
||||
PagesModule, |
||||
FormsModule, |
||||
HttpClientModule, |
||||
NzNotificationModule, |
||||
NzMessageModule, |
||||
NzModalModule |
||||
], |
||||
providers: [httpInterceptorProviders, CacheTokenService, TreeService, ConfigFormDataService, |
||||
{ provide: RouteReuseStrategy, useClass: CustomReuseStrategy }], |
||||
bootstrap: [AppComponent] |
||||
}) |
||||
export class AppModule { } |
||||
import { BrowserModule } from '@angular/platform-browser'; |
||||
import { NgModule } from '@angular/core'; |
||||
import { AppRoutingModule } from './app-routing.module'; |
||||
import { AppComponent } from './app.component'; |
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
||||
import { PagesModule } from './pages/pages.module'; |
||||
import { FormsModule } from '@angular/forms'; |
||||
import { HttpClientModule } from '@angular/common/http'; |
||||
import { httpInterceptorProviders } from './http-interceptors/index' |
||||
import { CacheTokenService } from './service/cache-token.service' |
||||
import { NzNotificationModule } from 'ng-zorro-antd/notification'; |
||||
import { NzMessageModule } from 'ng-zorro-antd/message'; |
||||
import { TreeService } from './service/tree.service'; |
||||
import { RouteReuseStrategy } from '@angular/router'; |
||||
import { CustomReuseStrategy } from './CustomReuseStrategy'; |
||||
import { ConfigFormDataService } from './service/configFormData.service'; |
||||
import { registerLocaleData } from '@angular/common'; |
||||
import { NzModalModule } from 'ng-zorro-antd/modal'; |
||||
import zh from '@angular/common/locales/zh'; |
||||
registerLocaleData(zh); |
||||
@NgModule({ |
||||
declarations: [ |
||||
AppComponent |
||||
], |
||||
imports: [ |
||||
BrowserModule, |
||||
AppRoutingModule, |
||||
BrowserAnimationsModule, |
||||
PagesModule, |
||||
FormsModule, |
||||
HttpClientModule, |
||||
NzNotificationModule, |
||||
NzMessageModule, |
||||
NzModalModule |
||||
], |
||||
providers: [httpInterceptorProviders, CacheTokenService, TreeService, ConfigFormDataService, |
||||
{ provide: RouteReuseStrategy, useClass: CustomReuseStrategy }], |
||||
bootstrap: [AppComponent] |
||||
}) |
||||
export class AppModule { } |
||||
|
Loading…
Reference in new issue