xieb
2023-09-13 3667807a7b7418efc090ee3fa6a6b734bc3080bf
src/store/index.ts
@@ -8,11 +8,12 @@
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: [],
@@ -21,7 +22,7 @@
      type: 1
    },
    {
      name: 'share',
      name: '共享',
      id: '',
      is_distributed: true,
      elements: [],
@@ -245,7 +246,8 @@
  actions,
  modules: {
    getter,
    map
    map,
    common
  },
}