From 8bfd657326eb9d4bd9b63920cfe3bd362cea4445 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 10 Oct 2025 20:59:07 +0800
Subject: [PATCH] Merge branch 'feature/v6.0/6.0.4' into prod
---
src/store/modules/common.js | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index 83eccd6..c12ef73 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -15,22 +15,26 @@
lockPasswd: getStore({ name: 'lockPasswd' }) || '',
website: website,
setting: website.setting,
+ deviceUpdateKey: 0, //设备刷新key
+ jobUpdateKey: 0, //任务刷新key
downloadProgress:{
htsjzx: 100, //数据中心
htlsrwxq: 100, //历史任务详情
},
- deviceUpdateKey: 0, //设备刷新key
- jobUpdateKey: 0, //任务刷新key
+ 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
- },
- setDownloadProgress(state, data) {
- state.downloadProgress = data
},
SET_LANGUAGE: (state, language) => {
state.language = language;
--
Gitblit v1.9.3