From 5694b71697b4d3eb209882f5f8fec7c53fc6d933 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 12 Feb 2025 20:11:46 +0800
Subject: [PATCH] 突发事件模拟相关调整
---
src/pages/map/components/scomponents/layersControl.vue | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/pages/map/components/scomponents/layersControl.vue b/src/pages/map/components/scomponents/layersControl.vue
index b24309f..b2b2cb6 100644
--- a/src/pages/map/components/scomponents/layersControl.vue
+++ b/src/pages/map/components/scomponents/layersControl.vue
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2024-10-31 10:47:29
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2025-01-13 19:28:23
+ * @LastEditTime: 2025-02-12 19:57:40
* @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue
* @Description:
*
@@ -461,6 +461,7 @@
backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-yb.png',
showPanel: false,
layerName: 'fxyOrdinary',
+ customWx: true,
incident: (e) => {
const { attrParams } = e.overlay
// 删除
@@ -501,6 +502,7 @@
backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-zd-b.png',
showPanel: false,
layerName: 'fxyLarger',
+ customWx: true,
incident: (e) => {
const { attrParams } = e.overlay
// 删除
@@ -541,6 +543,7 @@
backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-jd.png',
showPanel: false,
layerName: 'fxyLargerB',
+ customWx: true,
incident: (e) => {
const { attrParams } = e.overlay
// 删除
@@ -581,6 +584,7 @@
backgroundIcon: VITE_APP_BASE + 'img/mapicon/fxy-zd.png',
showPanel: false,
layerName: 'fxyZdLarger',
+ customWx: true,
incident: (e) => {
const { attrParams } = e.overlay
// 删除
@@ -832,6 +836,11 @@
return
}
+ if (mapStore.startCustomWx && item.customWx) {
+ EventBus.emit('wxEntityClick', e)
+ return
+ }
+
incident(e)
})
--
Gitblit v1.9.3