From 576d28de6be2d75bfd5a213874dd8d06657635b5 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期三, 25 十二月 2024 08:40:20 +0800
Subject: [PATCH] 1.添加实时报警和历史报警 2.添加云服务和局域网模式切换界面

---
 store/index.js |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/store/index.js b/store/index.js
index ef969c7..c17daea 100644
--- a/store/index.js
+++ b/store/index.js
@@ -4,23 +4,27 @@
  
 const store = new Vuex.Store({
   state: {
-	// 瀹氫箟cid榛樿鍊�
-    cid: null
+	// 璁惧鍞竴鏍囪瘑锛屾帹閫佷娇鐢�
+    clientPushId: null,
+ 
   },
   mutations: {
-    setCid(state, cid) {
-          state.cid = cid;
+    setClientPushId(state, clientPushId) {
+          state.clientPushId = clientPushId;
     },
+ 
   },
   actions: {
-    setCid({ commit }, cid) {
-         commit('setCid', cid);
+    setClientPushId({ commit }, clientPushId) {
+         commit('setClientPushId', clientPushId);
        },
+ 
   },
   getters: {
-   getCid(state) {  
-         return state.cid;  
-       }  
+   getClientPushId(state) {  
+         return state.clientPushId;  
+       },
+ 
   }
 });
  

--
Gitblit v1.9.3