From 27bd4a08bf807f4f6132bb524da33490b6d22f87 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Tue, 19 Jun 2018 11:45:11 +0800
Subject: [PATCH] 省市区兼容旧版本

---
 src/app/routes/devices/monitor-point/monitor-point-edit/monitor-point-edit.component.ts |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/routes/devices/monitor-point/monitor-point-edit/monitor-point-edit.component.ts b/src/app/routes/devices/monitor-point/monitor-point-edit/monitor-point-edit.component.ts
index 6cee432..826af7e 100644
--- a/src/app/routes/devices/monitor-point/monitor-point-edit/monitor-point-edit.component.ts
+++ b/src/app/routes/devices/monitor-point/monitor-point-edit/monitor-point-edit.component.ts
@@ -77,7 +77,7 @@
      }
   }
   areaLazyLoad(event: { option: CascaderOption, index: number, resolve: (children: CascaderOption[]) => void, reject: () => void }) {
-    console.info(event);
+    // console.info(event);
     const index = event['index'];
     const option = event.option;  
     switch (index) {
@@ -94,7 +94,8 @@
          }
        ); break;
        case 1:
-       this.areacodeService.getAreas(option.value).subscribe(
+       // ������������������ ���������������
+       this.areacodeService.getAreas(option.value , false).subscribe(
          (res: {label: string, value: string}[]) => {
              event.resolve( res );
          }

--
Gitblit v1.8.0