From 7d208ee6892bb60422f1204fa6edb139dc104209 Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Mon, 04 Dec 2023 09:53:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/demo' into demo

---
 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