src/store/index.ts
@@ -13,7 +13,14 @@ wkt: null, hasGeom: null, filter: null, count: 0, obj: null, }, chekNowLayers: [], exportImgUrl: "", tab: null, doubleMap: false, doubleMenu: false, }, mutations: { //获取登录Code @@ -30,6 +37,9 @@ state.token = token; setToken(token); }, SET_CHECKLAYER(state, layers) { state.chekNowLayers = layers; }, }, actions: {}, modules: {},