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