From a1fc00dbb4926cda11db43cf081f4bc06bcf3f98 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Mon, 04 Sep 2023 09:43:19 +0800
Subject: [PATCH] 项目编辑、新增接口功能对接

---
 src/store/index.ts |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/store/index.ts b/src/store/index.ts
index d3964db..818ab40 100644
--- a/src/store/index.ts
+++ b/src/store/index.ts
@@ -5,6 +5,7 @@
 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'
 
 const initStateFunc = () => ({
@@ -240,7 +241,10 @@
   state: initStateFunc,
   getters,
   mutations,
-  actions
+  actions,
+  modules: {
+    getter,
+  },
 }
 
 const rootStore = createStore(storeOptions)

--
Gitblit v1.9.3