Commit 44c2fa00 authored by wangqinghua's avatar wangqinghua

优化速度

parent 833658b4
......@@ -20,8 +20,6 @@ import { NgxEchartsModule } from "ngx-echarts";
import {
FooterComponent,
ProfileService,
PageRibbonComponent,
ErrorComponent
} from './layouts';
import {AppComponent} from "./app.component";
......@@ -49,13 +47,11 @@ import {AppService} from './app.service';
],
declarations: [
ErrorComponent,
PageRibbonComponent,
FooterComponent,
AppComponent,
],
providers: [
LayoutService,
ProfileService,
PaginationConfig,
LoginGuard,
AppService,
......
import {AfterViewInit, Component, ElementRef, OnInit, Renderer2, ViewChild} from '@angular/core';
import { JhiEventManager } from 'ng-jhipster';
import { Account, Principal } from '../shared';
import { Principal } from '../shared';
import {OverAllService} from '../overAll/overAll.service';
import {color, pageSize} from '../app.constants';
import {AlarmService} from '../alarm/alarm.service';
......
......@@ -3,7 +3,4 @@ export * from './error/error.route';
export * from './main/main.component';
export * from './footer/footer.component';
export * from './navbar/navbar.component';
export * from './profiles/page-ribbon.component';
export * from './profiles/profile.service';
export * from './profiles/profile-info.model';
export * from './sidebar/sidebar.component';
......@@ -2,7 +2,6 @@ import {AfterViewChecked, Component, ElementRef, OnChanges, OnInit, ViewChild} f
import { Router } from '@angular/router';
import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
import { ProfileService } from '../profiles/profile.service';
import { Principal, LoginService } from '../../shared';
import {ThemeList, VERSION} from '../../app.constants';
......@@ -49,7 +48,6 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{
constructor(
private loginService: LoginService,
private principal: Principal,
private profileService: ProfileService,
private router: Router,
private appSer:AppService,
private $localStorage:LocalStorageService,
......
......@@ -5,8 +5,6 @@ import locale from '@angular/common/locales/en';
import {
BootappSharedLibsModule,
JhiAlertComponent,
JhiAlertErrorComponent
} from './';
@NgModule({
......@@ -14,8 +12,6 @@ import {
BootappSharedLibsModule
],
declarations: [
JhiAlertComponent,
JhiAlertErrorComponent
],
providers: [
Title,
......@@ -26,8 +22,6 @@ import {
],
exports: [
BootappSharedLibsModule,
JhiAlertComponent,
JhiAlertErrorComponent
]
})
export class BootappSharedCommonModule {
......
......@@ -9,7 +9,6 @@ import {
CSRFService,
AuthServerProvider,
AccountService,
UserService,
StateStorageService,
LoginService,
JhiLoginModalComponent,
......@@ -39,7 +38,6 @@ import {DisableControlDirective} from './common/disable-control.directive';
Principal,
CSRFService,
AuthServerProvider,
UserService,
DatePipe,
EmitService,
NgbActiveModal,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment