济南项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

44 lines
1.8 KiB

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 { registerLocaleData } from '@angular/common';
import { NzModalModule } from 'ng-zorro-antd/modal';
import zh from '@angular/common/locales/zh';
import { MethodService } from './service/method.service';
import { SelectUnitComponent } from './commonComponents/select-unit/select-unit.component';
import { TestComponent } from './commonComponents/test/test.component';
import { ObjectsSimpleService } from './service/objectsSimple.service';
registerLocaleData(zh);
@NgModule({
declarations: [
AppComponent,
SelectUnitComponent,
TestComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
PagesModule,
FormsModule,
HttpClientModule,
NzNotificationModule,
NzMessageModule,
NzModalModule
],
// providers: [httpInterceptorProviders, CacheTokenService, TreeService,
// { provide: RouteReuseStrategy, useClass: CustomReuseStrategy }],
providers: [httpInterceptorProviders, CacheTokenService, TreeService, MethodService, ObjectsSimpleService],
bootstrap: [AppComponent]
})
export class AppModule { }