ソースを参照

优化echart,优化打包速度

seimin 1 年間 前
コミット
df93c4f0c5
共有3 個のファイルを変更した4 個の追加3 個の削除を含む
  1. 0 3
      src/app/share/share.module.ts
  2. 2 0
      src/app/views/compre-statistics/compre-statistics.module.ts
  3. 2 0
      src/app/views/home/home.module.ts

+ 0 - 3
src/app/share/share.module.ts

@@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
3 3
 import { NgZorroAntdModule } from 'ng-zorro-antd';
4 4
 import { NzIconModule } from 'ng-zorro-antd/icon';
5 5
 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
-import { NgxEchartsModule } from 'ngx-echarts';
7 6
 import { OverlayscrollbarsModule } from 'overlayscrollbars-ngx';
8 7
 import { SelectHospitalComponent } from './select-hospital/select-hospital.component';
9 8
 import { SelectDeptComponent } from './select-dept/select-dept.component';
@@ -88,7 +87,6 @@ import { BloodHistoryPromptModalComponent } from './blood-history-prompt-modal/b
88 87
     NgZorroAntdModule,
89 88
     FormsModule,
90 89
     ReactiveFormsModule,
91
-    NgxEchartsModule,
92 90
     OverlayscrollbarsModule,
93 91
     SortablejsModule,
94 92
     NzIconModule,
@@ -115,7 +113,6 @@ import { BloodHistoryPromptModalComponent } from './blood-history-prompt-modal/b
115 113
     NgZorroAntdModule,
116 114
     FormsModule,
117 115
     ReactiveFormsModule,
118
-    NgxEchartsModule,
119 116
     OverlayscrollbarsModule,
120 117
     SortablejsModule,
121 118
     DateTransformPipe,

+ 2 - 0
src/app/views/compre-statistics/compre-statistics.module.ts

@@ -4,6 +4,7 @@ import { CommonModule } from '@angular/common';
4 4
 import { CompreStatisticsRoutingModule } from './compre-statistics-routing.module';
5 5
 import { CompreStatisticsComponent } from './compre-statistics.component';
6 6
 import { ShareModule } from 'src/app/share/share.module';
7
+import { NgxEchartsModule } from 'ngx-echarts';
7 8
 
8 9
 
9 10
 @NgModule({
@@ -13,6 +14,7 @@ import { ShareModule } from 'src/app/share/share.module';
13 14
   imports: [
14 15
     CommonModule,
15 16
     CompreStatisticsRoutingModule,
17
+    NgxEchartsModule,
16 18
     ShareModule
17 19
   ]
18 20
 })

+ 2 - 0
src/app/views/home/home.module.ts

@@ -4,6 +4,7 @@ import { CommonModule } from '@angular/common';
4 4
 import { HomeRoutingModule } from './home-routing.module';
5 5
 import { HomeComponent } from './home.component';
6 6
 import { ShareModule } from 'src/app/share/share.module';
7
+import { NgxEchartsModule } from 'ngx-echarts';
7 8
 
8 9
 
9 10
 @NgModule({
@@ -13,6 +14,7 @@ import { ShareModule } from 'src/app/share/share.module';
13 14
   imports: [
14 15
     CommonModule,
15 16
     HomeRoutingModule,
17
+    NgxEchartsModule,
16 18
     ShareModule
17 19
   ]
18 20
 })