From 7941623b1fb108a154ea4270d7c7e2df6031f6e5 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期四, 11 十二月 2025 12:36:14 +0800
Subject: [PATCH] 优化页面UI更新
---
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