src/store/index.ts
@@ -16,6 +16,8 @@ count: 0, obj: null, }, chekNowLayers: [], exportImgUrl: "", }, mutations: { //获取登录Code @@ -32,6 +34,9 @@ state.token = token; setToken(token); }, SET_CHECKLAYER(state, layers) { state.chekNowLayers = layers; }, }, actions: {}, modules: {},