From b4d89fbfa4115235381afaafd71702c76bd1307b Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Wed, 29 Nov 2023 17:32:21 +0800
Subject: [PATCH] 航线编辑修改
---
src/store/index.ts | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/store/index.ts b/src/store/index.ts
index 0eb84ff..b669865 100644
--- a/src/store/index.ts
+++ b/src/store/index.ts
@@ -100,6 +100,7 @@
waylineTool: {
isShow: false as boolean,
wayline: {} as any,
+ position: null as any,
kmzPath: '' as string
}
})
@@ -210,9 +211,10 @@
state.clientId = clientId
},
// 设置wayline中的信息
- SET_WAYLINE_INFO (state, { isShow, wayline }) {
+ SET_WAYLINE_INFO (state, { isShow, wayline, position }) {
state.waylineTool.isShow = isShow
state.waylineTool.wayline = wayline
+ state.waylineTool.position = position
},
SET_WAYLINE_KMZPATH (state, kmzPath) {
state.waylineTool.kmzPath = kmzPath
--
Gitblit v1.9.3