From 41af42c7d30e9604f78c2973c39d0ff5e9e46ed1 Mon Sep 17 00:00:00 2001 From: YANGDL <114714267@qq.com> Date: 星期三, 03 三月 2021 17:37:07 +0800 Subject: [PATCH] 修改专题搜索结果面板样式 --- src/store/modules/map.js | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/store/modules/map.js b/src/store/modules/map.js index c6b997e..341fb4b 100644 --- a/src/store/modules/map.js +++ b/src/store/modules/map.js @@ -14,12 +14,24 @@ selectedServiceLayer: '', // 浣跨敤杩囨护鍣ㄦ椂锛岃鎵撳紑鐨刉MS鏈嶅姟鐨凜ODE serviceLayerFilters: {}, // 鏈嶅姟鍥惧眰鎺у埗杩囨护閰嶇疆 checkedLayers: {}, // 閫変腑鍥惧眰瀵硅薄 + // 鍥惧眰鏁版嵁 + datas: { + sewers: [] + }, + topic: { + currentTopic: '', + topicCheckedList: [] + }, config: config, serviceLayers: config.mapConfig.Layers } const mutations = { setMapObj (state, map) { state.map = map + }, + // 璁剧疆姹¢洦姘村浘灞傛暟鎹� + setSewersDatas (state, sewersDatas) { + state.datas.sewers = sewersDatas }, setBasemapHelper (state, layerHelper) { state.basemapHelper = layerHelper @@ -41,11 +53,12 @@ }, toggleServiceLayerFilter (state) { state.showServiceLayerFilter = !state.showServiceLayerFilter + }, + setTopic (state, obj) { + state.topic.topicCheckedList = obj } } -const actions = { - -} +const actions = {} export default { state, mutations, -- Gitblit v1.8.0