From db3e35114ed8d1318be257324747cd9f486038ac Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 27 Sep 2025 15:53:56 +0800
Subject: [PATCH] Merge branch 'feature/v6.0/6.0.4' of http://139.196.74.78:10010/r/drone/drone-web-manage into feature/v6.0/6.0.4

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

diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index 46f4fb2..c12ef73 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -15,15 +15,27 @@
     lockPasswd: getStore({ name: 'lockPasswd' }) || '',
     website: website,
     setting: website.setting,
+    deviceUpdateKey: 0, //设备刷新key
+    jobUpdateKey: 0, //任务刷新key
     downloadProgress:{
       htsjzx: 100, //数据中心
       htlsrwxq: 100, //历史任务详情
-    }
+    },
+    lastHeight: 0, // 获取最后一点高度
   },
   mutations: {
+    setLastHeight(state, data) {
+      state.lastHeight = 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