husq
2023-09-08 0c070817accc40e6c8a2a1479fe2a9ee6f2f5d3e
src/store/index.ts
@@ -5,7 +5,9 @@
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: [
@@ -130,7 +132,6 @@
    }
    if (info.host.job_number !== undefined) {
      dock.work_osd = info.host
      return
    }
  },
  SET_DRAW_VISIBLE_INFO (state, bool) {
@@ -241,7 +242,11 @@
  state: initStateFunc,
  getters,
  mutations,
  actions
  actions,
  modules: {
    getter,
    map
  },
}
const rootStore = createStore(storeOptions)