From 6cdcf30b52502fa2b7db21064c40b7193bf7e25f Mon Sep 17 00:00:00 2001 From: YANGDL <114714267@qq.com> Date: 星期四, 25 二月 2021 10:55:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/store/modules/map.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/store/modules/map.js b/src/store/modules/map.js index 2a1bff6..c6b997e 100644 --- a/src/store/modules/map.js +++ b/src/store/modules/map.js @@ -1,4 +1,4 @@ -import mapConfig from '../../conf/MapConfig' +import config from '../../conf/MapConfig' const state = { currentCorp: null, @@ -14,7 +14,8 @@ selectedServiceLayer: '', // 浣跨敤杩囨护鍣ㄦ椂锛岃鎵撳紑鐨刉MS鏈嶅姟鐨凜ODE serviceLayerFilters: {}, // 鏈嶅姟鍥惧眰鎺у埗杩囨护閰嶇疆 checkedLayers: {}, // 閫変腑鍥惧眰瀵硅薄 - mapConfig: mapConfig + config: config, + serviceLayers: config.mapConfig.Layers } const mutations = { setMapObj (state, map) { -- Gitblit v1.8.0