From 16c2113bae4e692e02ee3a2f4b686e1883cdbc91 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 16 Feb 2023 17:21:14 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs

---
 src/views/house/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/house/index.vue b/src/views/house/index.vue
index be45f97..3e08234 100644
--- a/src/views/house/index.vue
+++ b/src/views/house/index.vue
@@ -693,7 +693,7 @@
             treeEmptyText: "",
 
             contentShow: true,
-            unitOptions: [],
+            unitOptions: [{ value: 1, label: '1单元' }],
             unitValue: 1,
             searchHouse: '',
             navType: 0,
@@ -1036,8 +1036,9 @@
                         this.isShowUnitChoose = true
                     }
                     let allUnitDate = []
+                    this.unitOptions = []
                     houseData.hwtxa.features.forEach((item, index) => {
-                        this.unitOptions.push({ value: `${index + 2}`, label: `${item.properties.pgjmz}` })
+                        this.unitOptions.push({ value: `${index + 1}`, label: `${item.properties.pgjmz}` })
                         let unitOptionData = []
                         unitData.forEach(inItem => {
                             if (inItem.properties.pgjmz == item.properties.pgjmz) {

--
Gitblit v1.9.3