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/note.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/store/modules/note.js b/src/store/modules/note.js
new file mode 100644
index 0000000..cd9ee76
--- /dev/null
+++ b/src/store/modules/note.js
@@ -0,0 +1,18 @@
+const Note = {
+ state: {
+ tags: [],
+ class: [],
+ },
+ getters: {},
+ mutations: {
+ SET_NOTE_TAGS(state, tags) {
+ state.tags = tags
+ },
+
+ PUSH_NOTE_TAG(state, tag) {
+ state.tags.unshift(tag)
+ },
+ },
+}
+
+export default Note
--
Gitblit v1.9.3