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: '', // 使用过滤器时,被打开的WMS服务的CODE serviceLayerFilters: {}, // 服务图层控制过滤配置 checkedLayers: {}, // 选中图层对象 mapConfig: mapConfig config: config, serviceLayers: config.mapConfig.Layers } const mutations = { setMapObj (state, map) {