From 0f16db42e4e331bfaf084c27ca602c275e87668d Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 28 Oct 2025 18:07:42 +0800
Subject: [PATCH] feat:渲染数据

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

diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index e95da6d..c12ef73 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -15,6 +15,8 @@
     lockPasswd: getStore({ name: 'lockPasswd' }) || '',
     website: website,
     setting: website.setting,
+    deviceUpdateKey: 0, //设备刷新key
+    jobUpdateKey: 0, //任务刷新key
     downloadProgress:{
       htsjzx: 100, //数据中心
       htlsrwxq: 100, //历史任务详情
@@ -28,6 +30,12 @@
     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