From 950c7bf191b173b45eedd08fd2d576bb093186ca Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 13 十二月 2022 18:43:50 +0800
Subject: [PATCH] 综合展示分析

---
 src/components/MapView/mapSpaceTop.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/components/MapView/mapSpaceTop.vue b/src/components/MapView/mapSpaceTop.vue
index 1406bdd..1503ca6 100644
--- a/src/components/MapView/mapSpaceTop.vue
+++ b/src/components/MapView/mapSpaceTop.vue
@@ -39,12 +39,14 @@
       layerData: [
         {
           id: 1,
+          label: '鍩虹鏁版嵁',
           tabDesc: '鍩虹鏁版嵁',
           value: 'BD',
           children: [],
         },
         {
           id: 2,
+          label: '鍩虹鏁版嵁',
           tabDesc: '涓氬姟鏁版嵁',
           value: 'BS',
           children: [],
@@ -52,7 +54,7 @@
       ],
       defaultProps: {
         children: 'children',
-        label: 'tabDesc',
+        label: 'label',
       },
       mapSpaceQueryLayer: null,
     };
@@ -71,6 +73,7 @@
       for (var i in option) {
         var val_Data = option[i];
         val_Data.id = '1' + i;
+        val_Data.label = val_Data.tabDesc + '(' + val_Data.tab + ')';
         if (option[i].ns == 'bd') {
           this.layerData[0].children.push(val_Data);
         } else {

--
Gitblit v1.9.3