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