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)