src/store/modules/map.js
@@ -3,7 +3,6 @@ const state = { currentCorp: null, currentCorpType: null, L: null, map: null, // 实例化的map basemapHelper: {}, // 影像地图图层控制器实现助手程序 serviceLayerHelper: {}, // 服务图层控制器实现助手程序 @@ -17,9 +16,8 @@ mapConfig: mapConfig } const mutations = { setMapObj (state, mObject) { state.L = mObject.L state.map = mObject.map setMapObj (state, map) { state.map = map }, setBasemapHelper (state, layerHelper) { state.basemapHelper = layerHelper