From 98c817ed9c015b50bfa4cb04d4d718d767a071d5 Mon Sep 17 00:00:00 2001
From: GULIMMO <2820890765@qq.com>
Date: Sat, 11 Nov 2023 19:45:59 +0800
Subject: [PATCH] 门牌码信息接口更新

---
 subPackage/workbench/views/cscj.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/subPackage/workbench/views/cscj.vue b/subPackage/workbench/views/cscj.vue
index 028c8e9..11c8dbb 100644
--- a/subPackage/workbench/views/cscj.vue
+++ b/subPackage/workbench/views/cscj.vue
@@ -502,6 +502,7 @@
 
 					data.placePoiLabelVOList.forEach(item => {
 						let label = this.labelList[0].children.find(sl => sl.text === item.labelName) || {}
+						console.log(label);
 						label['isClose'] = false
 						this.showLabelList.push(label)
 					})
@@ -544,16 +545,16 @@
 				const townStreet = await this.getDoorplateAddressList(null, "townStreet")
 				this.setColumn(townStreet, 0)
 				//设置社区
-				const nei = await this.getDoorplateAddressList(townStreet[0].code, "nei")
+				const nei = await this.getDoorplateAddressList(townStreet[0]?.code, "nei")
 				this.setColumn(nei, 1)
 				//设置路
-				const streetRu = await this.getDoorplateAddressList(nei[0].code, "streetRu")
+				const streetRu = await this.getDoorplateAddressList(nei[0]?.code, "streetRu")
 				this.setColumn(streetRu, 2)
 				//设置地区
-				const district = await this.getDoorplateAddressList(streetRu[0].code, "district")
+				const district = await this.getDoorplateAddressList(streetRu[0]?.code, "district")
 				this.setColumn(district, 3)
 				//设置楼栋
-				const building = await this.getDoorplateAddressList(district[0].code, "building")
+				const building = await this.getDoorplateAddressList(district[0]?.code, "building")
 				this.setColumn(building, 4)
 			},
 

--
Gitblit v1.9.3