From 0320cd8e5794d8da4a47eba33fe2eb9cb4b35445 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 02 Dec 2024 17:57:50 +0800
Subject: [PATCH] 路由调整,代码严格处理

---
 src/views/companyInfo/components/box/unitContent.vue |    2 +-
 src/views/survey/components/box/fireTrend.vue        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/companyInfo/components/box/unitContent.vue b/src/views/companyInfo/components/box/unitContent.vue
index e16eefa..11560e8 100644
--- a/src/views/companyInfo/components/box/unitContent.vue
+++ b/src/views/companyInfo/components/box/unitContent.vue
@@ -85,7 +85,7 @@
 
         divIcon.on(DC.MouseEventType.CLICK, incident)
 
-        addTileLayers[companyInfo.name].addOverlay(divIcon)
+        addTileLayers[companyInfo.name] && addTileLayers[companyInfo.name].addOverlay(divIcon)
       })
     })
   } else {
diff --git a/src/views/survey/components/box/fireTrend.vue b/src/views/survey/components/box/fireTrend.vue
index 613f1ac..e628893 100644
--- a/src/views/survey/components/box/fireTrend.vue
+++ b/src/views/survey/components/box/fireTrend.vue
@@ -47,7 +47,7 @@
   localStorage.setItem('companyInfo', JSON.stringify(item))
   store.setLoadSub(true)
   router.push({
-    path: '/layout/sub/companyInfo'
+    path: '/layout/map/sub/companyInfo'
   })
 }
 

--
Gitblit v1.9.3