zxl
2025-11-25 eea62f8a4cac45e9fba425fb2069bf2a504c2e98
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