From 233e4fc4f35bd00a36ee34a7fbf5e47b41db26db Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 17 Nov 2025 09:54:44 +0800
Subject: [PATCH] feat:更新初始化地形

---
 src/store/modules/common.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index 46f4fb2..ce4a88f 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -15,15 +15,31 @@
     lockPasswd: getStore({ name: 'lockPasswd' }) || '',
     website: website,
     setting: website.setting,
+    deviceUpdateKey: 0, //设备刷新key
+    jobUpdateKey: 0, //任务刷新key
     downloadProgress:{
       htsjzx: 100, //数据中心
       htlsrwxq: 100, //历史任务详情
-    }
+    },
+    safeHeight: 0, // 获取选择航线高度
+    positionsArr: [], // 获取选择航线点数据
   },
   mutations: {
+    setSafeHeight (state, data) {
+      state.safeHeight = data
+    },
+    setPositionsArr(state, data) {
+      state.positionsArr = data
+    },
     setDownloadProgress(state, data) {
       state.downloadProgress = data
     },
+    deviceUpdateKeyAdd(state, data) {
+      state.deviceUpdateKey = state.deviceUpdateKey + 1
+    },
+    jobUpdateKeyAdd(state, data) {
+      state.jobUpdateKey = state.jobUpdateKey + 1
+    },
     SET_LANGUAGE: (state, language) => {
       state.language = language;
       setStore({

--
Gitblit v1.9.3