From 86dfd09e0939f3d07c78434a88e416630094e0bf Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 17:16:49 +0800
Subject: [PATCH] feat: 历史任务详细页功能(关联事件、点击跳转)

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

diff --git a/src/store/modules/home.js b/src/store/modules/home.js
index 73618a3..4012aeb 100644
--- a/src/store/modules/home.js
+++ b/src/store/modules/home.js
@@ -77,6 +77,7 @@
       window.localStorage.setItem('bs_workspace_id', id)
     },
     setOsdVisibleInfo: (state, info) => {
+      console.log('存储',info)
       state.osdVisible = Object.assign({}, info)
       window.localStorage.setItem('bs_osd', JSON.stringify(info))
     },
@@ -117,10 +118,9 @@
 				dock.work_osd = info.host
 			}
 		},
-    setEventTimeType : (state, data) => {
-      console.log('33333')
-      state.eventTimeType = data[0]
-      state.eventTimeParams = data[1]
+    setEventTimeType: (state, [timeType, timeParams]) => {
+      state.eventTimeType = timeType
+      state.eventTimeParams = timeParams
     },
     setEventTimeRang : (state, time) => {
       state.eventTimeRang = time

--
Gitblit v1.9.3