From c48eafe8411adad734b57b424f5440284dbc85e3 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 05 Nov 2025 16:15:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test
---
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