From 8c320bae338a62201d89a070702e88b2a3911447 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 27 Nov 2024 16:20:58 +0800
Subject: [PATCH] 1.表格无数据中文提示处理 2.控制台警告处理 3.企业详情应急空间报错处理 4.console信息删除

---
 src/views/companyInfo/components/box/unitContent.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/views/companyInfo/components/box/unitContent.vue b/src/views/companyInfo/components/box/unitContent.vue
index 8dc96aa..dfea987 100644
--- a/src/views/companyInfo/components/box/unitContent.vue
+++ b/src/views/companyInfo/components/box/unitContent.vue
@@ -2,8 +2,8 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2023-03-10 15:27:59
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-12 18:10:32
- * @FilePath: \bigScreen\src\views\space\components\leftContainer.vue
+ * @LastEditTime: 2024-11-27 16:14:10
+ * @FilePath: \bigScreen\src\views\companyInfo\components\box\unitContent.vue
  * @Description:
  *
  * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
@@ -47,7 +47,7 @@
             let data = res.data.data.records
             data.filter(i => i.lng && i.lng != '' && i.lat && i.lat != '').forEach(i => {
                 let img = image.value.filter(l => i.name.includes(l.label))
-                img = img.length > 0 ? img : image
+                img = img.length > 0 ? img : image.value
                 let iconEl = `<div class="map-name">${i.name}</div>
                             <div class="map-icon"> <img src="${img[0].value}"> </div>`
                 let divIcon = new DC.DivIcon(
@@ -111,7 +111,6 @@
     EventBus.emit('restHandleCheckChange', `3-3-4`)
 })
 onUnmounted(() => {
-    console.log('leftContainer unmounted***********************')
     let arr = Object.keys(addTileLayers)
     arr.forEach(i => {
         addTileLayers[i] && window.$viewer.removeLayer(addTileLayers[i])

--
Gitblit v1.9.3