From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1
---
src/store/modules/notify.js | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/src/store/modules/notify.js b/src/store/modules/notify.js
new file mode 100644
index 0000000..ae269f2
--- /dev/null
+++ b/src/store/modules/notify.js
@@ -0,0 +1,25 @@
+export default {
+ state: {
+ // 好友申请未读数
+ applyNum: 0,
+
+ // 好友键盘事件监听
+ inputEvent: 0,
+ },
+ mutations: {
+ // 好友申请事件监听
+ INCR_APPLY_NUM(state) {
+ state.applyNum++
+ },
+
+ // 好友申请事件监听
+ SET_APPLY_NUM(state, value) {
+ state.applyNum = value
+ },
+
+ // 自增好友键盘输入事件
+ UPDATE_KEYBOARD_EVENT(state) {
+ state.inputEvent++
+ },
+ },
+}
--
Gitblit v1.9.3