zxl
2025-07-15 e8746fe5bb553c17e0052958d9c39a5e2bc6f6a1
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