| | |
| | | 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' |
| | | import map from './map' |
| | | import common from '/@/store/common' |
| | | |
| | | const initStateFunc = () => ({ |
| | | Layers: [ |
| | | { |
| | | name: '默认', |
| | | name: 'default', |
| | | id: '', |
| | | is_distributed: true, |
| | | elements: [], |
| | |
| | | type: 1 |
| | | }, |
| | | { |
| | | name: '共享', |
| | | name: 'share', |
| | | id: '', |
| | | is_distributed: true, |
| | | elements: [], |
| | |
| | | mutations, |
| | | actions, |
| | | modules: { |
| | | getter, |
| | | map, |
| | | common |
| | | map |
| | | }, |
| | | } |
| | | |