From 2c435d1da00ba1b92ef2ed8e77c5cda4cbb2e93f Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sun, 20 Apr 2025 11:54:04 +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