src/store/index.ts
@@ -5,6 +5,7 @@ import { getLayers } from '/@/api/layer' import { LayerType } from '/@/types/mapLayer' import { WaylineFile } from '/@/types/wayline' import getter from './getters' import { DevicesCmdExecuteInfo } from '/@/types/device-cmd' const initStateFunc = () => ({ @@ -240,7 +241,10 @@ state: initStateFunc, getters, mutations, actions actions, modules: { getter, }, } const rootStore = createStore(storeOptions)