| | |
| | | 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' |
| | | |
| | | const initStateFunc = () => ({ |
| | | Layers: [ |
| | |
| | | } |
| | | if (info.host.job_number !== undefined) { |
| | | dock.work_osd = info.host |
| | | return |
| | | } |
| | | }, |
| | | SET_DRAW_VISIBLE_INFO (state, bool) { |
| | |
| | | state: initStateFunc, |
| | | getters, |
| | | mutations, |
| | | actions |
| | | actions, |
| | | modules: { |
| | | getter, |
| | | map |
| | | }, |
| | | } |
| | | |
| | | const rootStore = createStore(storeOptions) |