husq
2023-09-21 67338a9d75216fd17bf5d679e585c21a9f10a451
src/store/index.ts
@@ -6,6 +6,7 @@
import { LayerType } from '/@/types/mapLayer'
import { WaylineFile } from '/@/types/wayline'
import { DevicesCmdExecuteInfo } from '/@/types/device-cmd'
import createPersistedState from 'vuex-persistedstate' // 导入库
import map from './map'
import common from './common'
@@ -251,6 +252,7 @@
    map,
    common
  },
  plugins: [createPersistedState()]
}
const rootStore = createStore(storeOptions)