From d1a750f93f111a6c1ef01a6ce7531d6738bb5b30 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期二, 02 三月 2021 13:58:46 +0800 Subject: [PATCH] 修改图层控制 --- src/store/modules/map.js | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/store/modules/map.js b/src/store/modules/map.js index 6016809..341fb4b 100644 --- a/src/store/modules/map.js +++ b/src/store/modules/map.js @@ -18,6 +18,10 @@ datas: { sewers: [] }, + topic: { + currentTopic: '', + topicCheckedList: [] + }, config: config, serviceLayers: config.mapConfig.Layers } @@ -49,6 +53,9 @@ }, toggleServiceLayerFilter (state) { state.showServiceLayerFilter = !state.showServiceLayerFilter + }, + setTopic (state, obj) { + state.topic.topicCheckedList = obj } } const actions = {} -- Gitblit v1.8.0