zxl
2025-05-16 72454c3e8f686c1325fb265d59b8b63251bd17e2
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