From cc523dbe2dc5d3d72d8f82c9748f7fb5ccf87eb5 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Mon, 23 Jul 2018 09:39:04 +0800 Subject: [PATCH] 导入device 组件 --- src/app/routes/devices/devices.module.ts | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/app/routes/devices/devices.module.ts b/src/app/routes/devices/devices.module.ts index 7a0a12d..74ed046 100644 --- a/src/app/routes/devices/devices.module.ts +++ b/src/app/routes/devices/devices.module.ts @@ -26,7 +26,7 @@ import { CoordinatesPickerComponent } from 'app/routes/map/coordinates-picker/coordinates-picker.component'; import { MapModule } from 'app/routes/map/map.module'; import { CoorPickerService } from 'app/routes/map/coordinates-picker/coordinates-picker.service'; -const COMPONENTS_NOROUNT = [AdjustConfigComponent, DeviceEditComponent, VersionEditComponent, MonitorPointEditComponent, VersionSensorConfigComponent ]; +const COMPONENTS_NOROUNT = [AdjustConfigComponent, DeviceEditComponent, VersionEditComponent, MonitorPointEditComponent, VersionSensorConfigComponent]; const routes: Routes = [ { @@ -54,6 +54,9 @@ MonitorPointComponent, ...COMPONENTS_NOROUNT ], + exports: [ + COMPONENTS_NOROUNT + ], providers: [CoorPickerService, DeviceAdjustValueService, OrganizationService, VersionService, SensorsService, AreacodeService, MonitorPointService, _HttpClient, FormBuilder, DeviceService, OperateUserService, ToolsService], -- Gitblit v1.8.0