xiangpei
2025-06-25 3af64bd4b3c54d5073e1a9bbd7b2fc1fe4689336
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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