src/store/index.ts
@@ -7,11 +7,13 @@ import { WaylineFile } from '/@/types/wayline' import getter from './getters' import { DevicesCmdExecuteInfo } from '/@/types/device-cmd' import map from './map' import common from '/@/store/common' const initStateFunc = () => ({ Layers: [ { name: 'default', name: '默认', id: '', is_distributed: true, elements: [], @@ -20,7 +22,7 @@ type: 1 }, { name: 'share', name: '共享', id: '', is_distributed: true, elements: [], @@ -244,6 +246,8 @@ actions, modules: { getter, map, common }, }