fengxiang
2018-07-23 cc523dbe2dc5d3d72d8f82c9748f7fb5ccf87eb5
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],