src/store/index.js
@@ -2,6 +2,7 @@ import Vue from 'vue' import Vuex from 'vuex' import app from './app' import mapConfig from '../conf/MapConfig' Vue.use(Vuex) @@ -20,6 +21,9 @@ showServiceLayerFilter: false, // Service图层过滤器 selectedServiceLayer: '', // 使用过滤器时,被打开的WMS服务的CODE serviceLayerFilters: {}, // 服务图层控制过滤配置 mapConfig : mapConfig }, mutations: { setMapObj(state, mObject) {