From 076f7db1e1fc868fbee4524ff2194056fa2304d9 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Wed, 17 Jan 2024 09:49:53 +0800
Subject: [PATCH] 行业可清空,地图放大

---
 src/views/dispatch/components/OlMapBox.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/dispatch/components/OlMapBox.vue b/src/views/dispatch/components/OlMapBox.vue
index 755d912..8fba147 100644
--- a/src/views/dispatch/components/OlMapBox.vue
+++ b/src/views/dispatch/components/OlMapBox.vue
@@ -22,7 +22,7 @@
             </div>
         </div>
         <div class="unit-select">
-            <el-select v-model="industryValue" multiple collapse-tags placeholder="请选择行业" @change="industryChange">
+            <el-select v-model="industryValue" multiple collapse-tags placeholder="请选择行业" clearable @change="industryChange">
                 <el-option v-for="item in industryOptions" :key="item.value" :label="item.label" :value="item.value">
                 </el-option>
             </el-select>
@@ -99,7 +99,7 @@
                 view: new OlView({
                     // 初始化中心点坐标,经纬度一会自己换一下
                     center: [112.85857823133, 35.496284586473],
-                    zoom: 18,
+                    zoom: 13,
                     projection: "EPSG:4326"
                 }),
             })

--
Gitblit v1.9.3