husq
2023-09-14 004f9514d4858201ce116b878e464931bd5c5df8
src/store/index.ts
@@ -5,15 +5,13 @@
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: [],
@@ -22,7 +20,7 @@
      type: 1
    },
    {
      name: '共享',
      name: 'share',
      id: '',
      is_distributed: true,
      elements: [],
@@ -245,9 +243,7 @@
  mutations,
  actions,
  modules: {
    getter,
    map,
    common
    map
  },
}