From 7357cfaa2414a4e98f19f0f438a02250d250433f Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 18 Jan 2022 14:57:08 +0800
Subject: [PATCH] +关闭弹窗时关闭建筑高亮
---
src/store/modules/mobile.js | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/store/modules/mobile.js b/src/store/modules/mobile.js
index 88bf5b0..a6d6a20 100644
--- a/src/store/modules/mobile.js
+++ b/src/store/modules/mobile.js
@@ -47,6 +47,11 @@
usetowpointfive: null,
tilesetLayer: null, //瀑布流
areaLayer: null, //2.5d事件--绿色图层
+ select: {
+ //绿色图层控制显示
+ overlay: undefined,
+ color: undefined,
+ },
vecLayer: null, //3D底图
cvaLayer: null, //3D底图
@@ -303,6 +308,10 @@
set_showActivity(state, data) {
state.showActivity = data;
},
+ mset_changeSelect(state, data) {
+ state.select.overlay = data[0];
+ state.select.color = data[1];
+ },
},
actions: {
MSET_CREADE({ state, commit, dispatch }) {
--
Gitblit v1.9.3